Skip to content

Commit 4aac330

Browse files
committed
Force using the same Newtonsoft.Json version for all projects.
1 parent 8d99b1b commit 4aac330

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

src/Dependencies.Test.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<OmitJsonPackage>true</OmitJsonPackage>
5-
</PropertyGroup>
63
<Import Project="$(MSBuildThisFileDirectory)\Dependencies.Client.targets" />
74
<ItemGroup>
85
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />

src/Dependencies.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<PropertyGroup>
44
<IncludeSource>True</IncludeSource>
55
<IncludeSymbols>True</IncludeSymbols>
6-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
6+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
77
<!-- Suppress known NuGet package vulnerabilities to unblock build as we track this kind of security issues internally. -->
88
<WarningsNotAsErrors>NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
99
</PropertyGroup>
10-
<ItemGroup Condition="'$(OmitJsonPackage)' != 'true'">
10+
<ItemGroup>
1111
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
1212
</ItemGroup>
1313
<ItemGroup>

src/Storage.Management/Storage.Management.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<OmitJsonPackage>true</OmitJsonPackage>
4-
</PropertyGroup>
52
<Import Project="$(ProjectDir)..\Dependencies.Client.targets" />
63

74
<PropertyGroup>

src/Storage/Storage.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<OmitJsonPackage>true</OmitJsonPackage>
4-
</PropertyGroup>
5-
62
<Import Project="$(ProjectDir)..\Dependencies.targets" />
73

84
<PropertyGroup>

0 commit comments

Comments
 (0)