Skip to content

Commit e6c42ff

Browse files
authored
Merge pull request #5 from augustoproiete-forks/update-to-exceldna-v1-1-1
Update to ExcelDna v1.1 & IntelliSense v1.3
2 parents 6749ea7 + 91099ae commit e6c42ff

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

Source/ExcelDna.XFunctions/ExcelDna.XFunctions.csproj

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,15 @@
3333
<WarningLevel>4</WarningLevel>
3434
</PropertyGroup>
3535
<ItemGroup>
36-
<Reference Include="ExcelDna.Integration, Version=1.0.7056.37028, Culture=neutral, processorArchitecture=MSIL">
37-
<HintPath>..\packages\ExcelDna.Integration.1.0.0\lib\ExcelDna.Integration.dll</HintPath>
38-
<Private>False</Private>
36+
<Reference Include="ExcelDna.Integration, Version=1.1.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe, processorArchitecture=MSIL">
37+
<HintPath>..\packages\ExcelDna.Integration.1.1.0\lib\ExcelDna.Integration.dll</HintPath>
3938
</Reference>
40-
<Reference Include="ExcelDna.IntelliSense, Version=1.1.0.41869, Culture=neutral, processorArchitecture=MSIL">
41-
<HintPath>..\packages\ExcelDna.IntelliSense.1.1.0\lib\net40\ExcelDna.IntelliSense.dll</HintPath>
39+
<Reference Include="ExcelDna.IntelliSense, Version=1.3.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe, processorArchitecture=MSIL">
40+
<HintPath>..\packages\ExcelDna.IntelliSense.1.3.0\lib\net40\ExcelDna.IntelliSense.dll</HintPath>
4241
</Reference>
4342
<Reference Include="System" />
4443
<Reference Include="System.Core" />
45-
<Reference Include="System.Xml.Linq" />
46-
<Reference Include="System.Data.DataSetExtensions" />
4744
<Reference Include="Microsoft.CSharp" />
48-
<Reference Include="System.Data" />
49-
<Reference Include="System.Xml" />
5045
</ItemGroup>
5146
<ItemGroup>
5247
<Compile Include="AddIn.cs" />
@@ -59,16 +54,16 @@
5954
<None Include="Properties\ExcelDna.Build.props" />
6055
</ItemGroup>
6156
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
62-
<Import Project="..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets" Condition="Exists('..\packages\ExcelDna.AddIn.1.0.0\build\ExcelDna.AddIn.targets')" />
63-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
64-
<PropertyGroup>
65-
<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>
66-
</PropertyGroup>
67-
<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'))" />
68-
</Target>
6957
<PropertyGroup>
7058
<PostBuildEvent>mkdir $(TargetDir)Publish 2&gt;NUL
7159
xcopy /Y $(TargetDir)ExcelDna.XFunctions-packed.xll $(TargetDir)Publish\ExcelDna.XFunctions.xll*
7260
xcopy /Y $(TargetDir)ExcelDna.XFunctions64-packed.xll $(TargetDir)Publish\ExcelDna.XFunctions64.xll*</PostBuildEvent>
7361
</PropertyGroup>
74-
</Project>
62+
<Import Project="..\packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets" Condition="Exists('..\packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets')" />
63+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
64+
<PropertyGroup>
65+
<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>
66+
</PropertyGroup>
67+
<Error Condition="!Exists('..\packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets'))" />
68+
</Target>
69+
</Project>

Source/ExcelDna.XFunctions/Properties/ExcelDna.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@
5252
<ExcelDna64BitAddInSuffix Condition="'$(ExcelDna64BitAddInSuffix)' == ''">64</ExcelDna64BitAddInSuffix>
5353
</PropertyGroup>
5454

55+
<PropertyGroup>
56+
<!--
57+
Enable/Disable using Excel-DNA with PackageReference projects (not officially supported)
58+
-->
59+
<ExcelDnaAllowPackageReferenceProjectStyle Condition="'$(ExcelDnaAllowPackageReferenceProjectStyle)' == ''">false</ExcelDnaAllowPackageReferenceProjectStyle>
60+
</PropertyGroup>
61+
5562
<!--
5663
Configuration properties for packing .dna files
5764
-->
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="ExcelDna.AddIn" version="1.0.0" targetFramework="net40" />
4-
<package id="ExcelDna.Integration" version="1.0.0" targetFramework="net40" />
5-
<package id="ExcelDna.IntelliSense" version="1.1.0" targetFramework="net40" />
3+
<package id="ExcelDna.AddIn" version="1.1.1" targetFramework="net40" developmentDependency="true" />
4+
<package id="ExcelDna.Integration" version="1.1.0" targetFramework="net40" />
5+
<package id="ExcelDna.IntelliSense" version="1.3.0" targetFramework="net40" />
66
</packages>

0 commit comments

Comments
 (0)