Skip to content

Commit 2fc3bf8

Browse files
committed
Merge pull request #34 from jordangray/master
Issue #29: ensure correct NuGet dependencies
2 parents 9cdf580 + d5cf45d commit 2fc3bf8

File tree

7 files changed

+29
-17
lines changed

7 files changed

+29
-17
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ build/
1818
# Roslyn cache directories
1919
*.ide/
2020

21+
# NuGet package builds
22+
*.nupkg
23+
2124
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
2225
!packages/*/build/
2326

Binary file not shown.

src/WebApiContrib.Formatting.Xlsx/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("WebApiContrib")]
1212
[assembly: AssemblyProduct("WebApiContrib.Formatting.Xlsx")]
13-
[assembly: AssemblyCopyright("Copyright © WebApiContrib 2014")]
13+
[assembly: AssemblyCopyright("2014 Jordan Gray, WebApiContrib team")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

src/WebApiContrib.Formatting.Xlsx/WebApiContrib.Formatting.Xlsx.csproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,20 @@
3232
<WarningLevel>4</WarningLevel>
3333
</PropertyGroup>
3434
<ItemGroup>
35-
<Reference Include="EPPlus">
35+
<Reference Include="EPPlus, Version=3.1.3.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL">
3636
<HintPath>..\..\packages\EPPlus.3.1.3.3\lib\net35\EPPlus.dll</HintPath>
3737
</Reference>
38+
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
39+
<HintPath>..\..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
40+
</Reference>
3841
<Reference Include="System" />
3942
<Reference Include="System.Core" />
4043
<Reference Include="System.Net.Http" />
41-
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
44+
<Reference Include="System.Net.Http.Formatting, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
45+
<SpecificVersion>False</SpecificVersion>
46+
<HintPath>..\..\packages\Microsoft.AspNet.WebApi.Client.5.1.1\lib\net45\System.Net.Http.Formatting.dll</HintPath>
47+
</Reference>
48+
<Reference Include="System.Net.Http.WebRequest" />
4249
<Reference Include="System.Runtime.Serialization" />
4350
<Reference Include="System.Web" />
4451
<Reference Include="System.Xml.Linq" />
@@ -57,18 +64,11 @@
5764
<Compile Include="Properties\AssemblyInfo.cs" />
5865
</ItemGroup>
5966
<ItemGroup>
60-
<Content Include="bin\Debug\EPPlus.dll" />
61-
<Content Include="bin\Debug\EPPlus.xml" />
62-
<Content Include="bin\Debug\Newtonsoft.Json.dll" />
63-
<Content Include="bin\Debug\System.Net.Http.Formatting.dll" />
64-
<Content Include="bin\Debug\System.Net.Http.Formatting.xml" />
65-
<Content Include="bin\Debug\XlsxForWebApi.dll" />
66-
<Content Include="bin\Debug\XlsxForWebApi.pdb" />
67-
<Content Include="bin\Release\XlsxForWebApi.dll" />
68-
<Content Include="bin\Release\XlsxForWebApi.pdb" />
67+
<None Include="packages.config" />
6968
</ItemGroup>
7069
<ItemGroup>
71-
<None Include="packages.config" />
70+
<Folder Include="bin\Debug\" />
71+
<Folder Include="bin\Release\" />
7272
</ItemGroup>
7373
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7474
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="EPPlus" version="3.1.3.3" targetFramework="net45" />
4+
<package id="Microsoft.AspNet.WebApi.Client" version="5.1.1" targetFramework="net45" />
5+
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net45" />
46
</packages>

test/WebApiContrib.Formatting.Xlsx.Tests/WebApiContrib.Formatting.Xlsx.Tests.csproj

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,15 @@
4040
<Reference Include="EPPlus">
4141
<HintPath>..\..\packages\EPPlus.3.1.3.3\lib\net35\EPPlus.dll</HintPath>
4242
</Reference>
43+
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
44+
<HintPath>..\..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
45+
</Reference>
4346
<Reference Include="System" />
4447
<Reference Include="System.ComponentModel.DataAnnotations" />
4548
<Reference Include="System.Net.Http" />
46-
<Reference Include="System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
49+
<Reference Include="System.Net.Http.Formatting">
50+
<HintPath>..\..\packages\Microsoft.AspNet.WebApi.Client.5.1.1\lib\net45\System.Net.Http.Formatting.dll</HintPath>
51+
</Reference>
4752
<Reference Include="System.Runtime.Serialization" />
4853
<Reference Include="System.XML" />
4954
</ItemGroup>
@@ -68,15 +73,15 @@
6873
<Compile Include="TestData\SimpleTestItem.cs" />
6974
<Compile Include="FormatterUtilsTests.cs" />
7075
</ItemGroup>
76+
<ItemGroup>
77+
<None Include="packages.config" />
78+
</ItemGroup>
7179
<ItemGroup>
7280
<ProjectReference Include="..\..\src\WebApiContrib.Formatting.Xlsx\WebApiContrib.Formatting.Xlsx.csproj">
7381
<Project>{b6a319b2-82a4-41ba-a895-4fc02a0d53ef}</Project>
7482
<Name>WebApiContrib.Formatting.Xlsx</Name>
7583
</ProjectReference>
7684
</ItemGroup>
77-
<ItemGroup>
78-
<None Include="packages.config" />
79-
</ItemGroup>
8085
<Choose>
8186
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
8287
<ItemGroup>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="EPPlus" version="3.1.3.3" targetFramework="net45" />
4+
<package id="Microsoft.AspNet.WebApi.Client" version="5.1.1" targetFramework="net45" />
5+
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net45" />
46
</packages>

0 commit comments

Comments
 (0)