Skip to content

Commit

Permalink
Merge pull request #26 from caioproiete/target-exceldna-v1.0.0
Browse files Browse the repository at this point in the history
Update projects and NuGet packages to target Excel-DNA v1.0.0
  • Loading branch information
govert authored Nov 7, 2019
2 parents 1575b09 + 6128a39 commit 2bbc8be
Show file tree
Hide file tree
Showing 23 changed files with 132 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>ExcelDna.Registration.FSharp</id>
<version>0.34.7</version>
<version>1.0.0</version>
<title>Excel-DNA Registration Extensions for F#</title>
<authors>Govert van Drimmelen</authors>
<owners>Govert van Drimmelen</owners>
Expand All @@ -15,8 +15,8 @@
<summary>Excel-DNA Registration provides custom registration and function transformation helpers to Excel-DNA add-ins.</summary>
<tags>excel exceldna udf excel-dna</tags>
<dependencies>
<dependency id="ExcelDna.Integration" version="0.34.6" />
<dependency id="ExcelDna.Registration" version="[0.34.7]" />
<dependency id="ExcelDna.Integration" version="1.0.0" />
<dependency id="ExcelDna.Registration" version="[1.0.0]" />
<dependency id="ExcelDna.Interop" version="14.0.0" />
</dependencies>
</metadata>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>ExcelDna.Registration.VisualBasic</id>
<version>0.34.7</version>
<version>1.0.0</version>
<title>Excel-DNA Registration Extensions for Visual Basic</title>
<authors>Govert van Drimmelen</authors>
<owners>Govert van Drimmelen</owners>
Expand All @@ -15,8 +15,8 @@
<summary>Excel-DNA Registration provides custom registration and function transformation helpers to Excel-DNA add-ins.</summary>
<tags>excel exceldna udf excel-dna</tags>
<dependencies>
<dependency id="ExcelDna.Integration" version="0.34.6" />
<dependency id="ExcelDna.Registration" version="[0.34.7]" />
<dependency id="ExcelDna.Integration" version="1.0.0" />
<dependency id="ExcelDna.Registration" version="[1.0.0]" />
<dependency id="ExcelDna.Interop" version="14.0.0" />
</dependencies>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions NuGet/ExcelDna.Registration/ExcelDna.Registration.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>ExcelDna.Registration</id>
<version>0.34.7</version>
<version>1.0.0</version>
<title>Excel-DNA Registration Extensions</title>
<authors>Govert van Drimmelen</authors>
<owners>Govert van Drimmelen</owners>
Expand All @@ -14,7 +14,7 @@
<summary>Excel-DNA Registration provides custom registration and function transformation helpers to Excel-DNA add-ins.</summary>
<tags>excel exceldna udf excel-dna</tags>
<dependencies>
<dependency id="ExcelDna.Integration" version="0.34.6" />
<dependency id="ExcelDna.Integration" version="1.0.0" />
</dependencies>
</metadata>
<files>
Expand Down
7 changes: 4 additions & 3 deletions Source/ExcelDna.Registration.FSharp/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

open System.Reflection

[<assembly: AssemblyVersion("0.34.*")>]
[<assembly: AssemblyFileVersion("0.34.7.1")>]
do()
[<assembly: AssemblyVersion("1.0.0.0")>]
[<assembly: AssemblyFileVersion("1.0.0.0")>]
[<assembly: AssemblyInformationalVersion("1.0.0")>]
do()
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
</ItemGroup>
<ItemGroup>
<Reference Include="ExcelDna.Integration">
<HintPath>..\packages\ExcelDna.Integration.0.34.6\lib\ExcelDna.Integration.dll</HintPath>
<Private>False</Private>
<HintPath>..\packages\ExcelDna.Integration.1.0.0\lib\ExcelDna.Integration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="FSharp.Core">
<HintPath>..\packages\FSharp.Core.4.6.2\lib\net45\FSharp.Core.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion Source/ExcelDna.Registration.FSharp/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExcelDna.Integration" version="0.34.6" targetFramework="net40" />
<package id="ExcelDna.Integration" version="1.0.0" targetFramework="net45" />
<package id="FSharp.Core" version="4.6.2" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="ExcelDna.Integration, Version=0.34.6373.42344, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelDna.Integration.0.34.6\lib\ExcelDna.Integration.dll</HintPath>
<Private>False</Private>
<Reference Include="ExcelDna.Integration, Version=1.0.7056.37028, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelDna.Integration.1.0.0\lib\ExcelDna.Integration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<EmbedInteropTypes>True</EmbedInteropTypes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("ExcelDna.Registration.VisualBasic")>
<Assembly: AssemblyCopyright("Copyright © 2015-2017")>
<Assembly: AssemblyCopyright("Copyright © 2015-2019")>
<Assembly: AssemblyTrademark("")>

<Assembly: ComVisible(False)>
Expand All @@ -31,5 +31,6 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("0.34.*")>
<Assembly: AssemblyFileVersion("0.34.7.1")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
<Assembly: AssemblyInformationalVersion("1.0.0")>
2 changes: 1 addition & 1 deletion Source/ExcelDna.Registration.VisualBasic/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExcelDna.Integration" version="0.34.6" targetFramework="net40" />
<package id="ExcelDna.Integration" version="1.0.0" targetFramework="net40" />
<package id="ExcelDna.Interop" version="14.0.1" targetFramework="net4" />
</packages>
6 changes: 3 additions & 3 deletions Source/ExcelDna.Registration/ExcelDna.Registration.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="ExcelDna.Integration, Version=0.34.6373.42344, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelDna.Integration.0.34.6\lib\ExcelDna.Integration.dll</HintPath>
<Private>False</Private>
<Reference Include="ExcelDna.Integration, Version=1.0.7056.37028, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelDna.Integration.1.0.0\lib\ExcelDna.Integration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
7 changes: 4 additions & 3 deletions Source/ExcelDna.Registration/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ExcelDna.Registration")]
[assembly: AssemblyCopyright("Copyright © 2015-2017")]
[assembly: AssemblyCopyright("Copyright © 2015-2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.34.*")]
[assembly: AssemblyFileVersion("0.34.7.1")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
2 changes: 1 addition & 1 deletion Source/ExcelDna.Registration/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExcelDna.Integration" version="0.34.6" targetFramework="net40" />
<package id="ExcelDna.Integration" version="1.0.0" targetFramework="net40" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@
* Open your solution/project again in Visual Studio
-->

<!--
Configuration properties for debugging Excel-DNA add-ins
-->
<PropertyGroup>
<!--
Enable/Disable setting the debug options when building the project
-->
<RunExcelDnaSetDebuggerOptions Condition="'$(RunExcelDnaSetDebuggerOptions)' == ''">true</RunExcelDnaSetDebuggerOptions>

<!--
Override the path of EXCEL.EXE used for debugging the project, if you need
By default, it will use the latest version of Excel it can find on the machine
-->
<ExcelDnaExcelExePath Condition="'$(ExcelDnaExcelExePath)' == ''"></ExcelDnaExcelExePath>

<!--
Override the name of the .XLL add-in to use when debugging the project, if you need
By default, it will use the first unpacked .xll add-in that matches the bitness of EXCEL.EXE
-->
<ExcelDnaAddInForDebugging Condition="'$(ExcelDnaAddInForDebugging)' == ''"></ExcelDnaAddInForDebugging>
</PropertyGroup>

<!--
Configuration properties for building .dna files
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
</ItemGroup>
<ItemGroup>
<Reference Include="ExcelDna.Integration">
<HintPath>..\..\packages\ExcelDna.Integration.0.34.6\lib\ExcelDna.Integration.dll</HintPath>
<Private>False</Private>
<HintPath>..\..\packages\ExcelDna.Integration.1.0.0\lib\ExcelDna.Integration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="FSharp.Core">
<HintPath>..\..\packages\FSharp.Core.4.6.2\lib\net45\FSharp.Core.dll</HintPath>
Expand All @@ -126,10 +126,12 @@
<Private>True</Private>
</ProjectReference>
</ItemGroup>
<Import Project="..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets" Condition="Exists('..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets')" />
<Target Name="EnsureExcelDnaTargetsImported" BeforeTargets="BeforeBuild" Condition="'$(ExcelDnaTargetsImported)' == ''">
<Error Condition="!Exists('..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets') And ('$(RunExcelDnaBuild)' != '' And $(RunExcelDnaBuild))" Text="You are trying to build with ExcelDna, but the NuGet targets file that ExcelDna depends on is not available on this computer. This is probably because the ExcelDna package has not been committed to source control, or NuGet Package Restore is not enabled. Please enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets') And ('$(RunExcelDnaBuild)' != '' And $(RunExcelDnaBuild))" Text="ExcelDna cannot be run because NuGet packages were restored prior to the build running, and the targets file was unavailable when the build started. Please build the project again to include these packages in the build. You may also need to make sure that your build server does not delete packages prior to each build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
<Import Project="..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets" Condition="Exists('..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
4 changes: 2 additions & 2 deletions Source/Samples/Registration.Sample.FSharp/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExcelDna.AddIn" version="0.34.6" targetFramework="net40" />
<package id="ExcelDna.Integration" version="0.34.6" targetFramework="net40" />
<package id="ExcelDna.AddIn" version="1.0.0" targetFramework="net45" />
<package id="ExcelDna.Integration" version="1.0.0" targetFramework="net45" />
<package id="FSharp.Core" version="4.6.2" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@
* Open your solution/project again in Visual Studio
-->

<!--
Configuration properties for debugging Excel-DNA add-ins
-->
<PropertyGroup>
<!--
Enable/Disable setting the debug options when building the project
-->
<RunExcelDnaSetDebuggerOptions Condition="'$(RunExcelDnaSetDebuggerOptions)' == ''">true</RunExcelDnaSetDebuggerOptions>

<!--
Override the path of EXCEL.EXE used for debugging the project, if you need
By default, it will use the latest version of Excel it can find on the machine
-->
<ExcelDnaExcelExePath Condition="'$(ExcelDnaExcelExePath)' == ''"></ExcelDnaExcelExePath>

<!--
Override the name of the .XLL add-in to use when debugging the project, if you need
By default, it will use the first unpacked .xll add-in that matches the bitness of EXCEL.EXE
-->
<ExcelDnaAddInForDebugging Condition="'$(ExcelDnaAddInForDebugging)' == ''"></ExcelDnaAddInForDebugging>
</PropertyGroup>

<!--
Configuration properties for building .dna files
-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="ExcelDna.Integration, Version=0.34.6373.42344, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\ExcelDna.Integration.0.34.6\lib\ExcelDna.Integration.dll</HintPath>
<Private>False</Private>
<Reference Include="ExcelDna.Integration, Version=1.0.7056.37028, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\ExcelDna.Integration.1.0.0\lib\ExcelDna.Integration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<EmbedInteropTypes>True</EmbedInteropTypes>
Expand Down Expand Up @@ -150,10 +150,12 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<Import Project="..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets" Condition="Exists('..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets')" />
<Target Name="EnsureExcelDnaTargetsImported" BeforeTargets="BeforeBuild" Condition="'$(ExcelDnaTargetsImported)' == ''">
<Error Condition="!Exists('..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets') And ('$(RunExcelDnaBuild)' != '' And $(RunExcelDnaBuild))" Text="You are trying to build with ExcelDna, but the NuGet targets file that ExcelDna depends on is not available on this computer. This is probably because the ExcelDna package has not been committed to source control, or NuGet Package Restore is not enabled. Please enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
<Error Condition="Exists('..\..\packages\ExcelDna.AddIn.0.34.6\tools\ExcelDna.AddIn.targets') And ('$(RunExcelDnaBuild)' != '' And $(RunExcelDnaBuild))" Text="ExcelDna cannot be run because NuGet packages were restored prior to the build running, and the targets file was unavailable when the build started. Please build the project again to include these packages in the build. You may also need to make sure that your build server does not delete packages prior to each build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
<Import Project="..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets" Condition="Exists('..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExcelDna.AddIn" version="0.34.6" targetFramework="net451" />
<package id="ExcelDna.Integration" version="0.34.6" targetFramework="net451" />
<package id="ExcelDna.AddIn" version="1.0.0" targetFramework="net451" />
<package id="ExcelDna.Integration" version="1.0.0" targetFramework="net451" />
<package id="ExcelDna.Interop" version="14.0.1" targetFramework="net451" />
</packages>
22 changes: 22 additions & 0 deletions Source/Samples/Registration.Sample/Properties/ExcelDna.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,28 @@
* Open your solution/project again in Visual Studio
-->

<!--
Configuration properties for debugging Excel-DNA add-ins
-->
<PropertyGroup>
<!--
Enable/Disable setting the debug options when building the project
-->
<RunExcelDnaSetDebuggerOptions Condition="'$(RunExcelDnaSetDebuggerOptions)' == ''">true</RunExcelDnaSetDebuggerOptions>

<!--
Override the path of EXCEL.EXE used for debugging the project, if you need
By default, it will use the latest version of Excel it can find on the machine
-->
<ExcelDnaExcelExePath Condition="'$(ExcelDnaExcelExePath)' == ''"></ExcelDnaExcelExePath>

<!--
Override the name of the .XLL add-in to use when debugging the project, if you need
By default, it will use the first unpacked .xll add-in that matches the bitness of EXCEL.EXE
-->
<ExcelDnaAddInForDebugging Condition="'$(ExcelDnaAddInForDebugging)' == ''"></ExcelDnaAddInForDebugging>
</PropertyGroup>

<!--
Configuration properties for building .dna files
-->
Expand Down
Loading

0 comments on commit 2bbc8be

Please sign in to comment.