Skip to content

Commit e705fee

Browse files
committed
Web API client: Updated a package
1 parent ebdddee commit e705fee

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

src/Tools/SmartStore.WebApi.Client/SmartStore.WebApi.Client.csproj

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@
5959
<Prefer32Bit>true</Prefer32Bit>
6060
</PropertyGroup>
6161
<ItemGroup>
62-
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
63-
<HintPath>packages\Newtonsoft.Json.5.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
62+
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
63+
<HintPath>..\..\packages\Newtonsoft.Json.6.0.6\lib\net45\Newtonsoft.Json.dll</HintPath>
64+
<Private>True</Private>
6465
</Reference>
6566
<Reference Include="System" />
6667
<Reference Include="System.Core" />
@@ -137,6 +138,13 @@
137138
</BootstrapperPackage>
138139
</ItemGroup>
139140
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
141+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
142+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
143+
<PropertyGroup>
144+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
145+
</PropertyGroup>
146+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
147+
</Target>
140148
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
141149
Other similar extension points exist, see Microsoft.Common.targets.
142150
<Target Name="BeforeBuild">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Newtonsoft.Json" version="5.0.8" targetFramework="net45" />
3+
<package id="Newtonsoft.Json" version="6.0.6" targetFramework="net45" />
44
</packages>

0 commit comments

Comments
 (0)