Skip to content

Commit

Permalink
Update newtonsoft.json dependency (#104)
Browse files Browse the repository at this point in the history
* Remove unused nuget feeds.

* Update json.net dependency.

TranslationLayer dependency should be aligning with VS. Use 8.0.3 as a dependency.
TestHost dependency should be aligning with netcoreapp target. Use 9.0.1 as a dependency.
Fixes #101.
  • Loading branch information
codito authored Oct 6, 2016
1 parent 58557aa commit f85a905
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 0 additions & 3 deletions Nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="vstest" value="https://dotnet.myget.org/F/vstest/auth/967ad631-d24c-4c0e-bece-922de3064956/api/v3/index.json" />

<!-- Moq -->
<add key="aspnetcidev" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
</packageSources>
<activePackageSource>
<add key="All" value="(Aggregate source)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},

"dependencies": {
"Newtonsoft.Json": "9.0.1",
"Newtonsoft.Json": "8.0.3",
"Microsoft.TestPlatform.CoreUtilities": "15.0.0-*",
"Microsoft.TestPlatform.ObjectModel": "15.0.0-*",
"Microsoft.TestPlatform.Common": "15.0.0-*"
Expand Down
2 changes: 2 additions & 0 deletions src/TestPlatform.TestHost.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<copyright>Copyright © Microsoft Corporation</copyright>
<dependencies>
<dependency id="Microsoft.TestPlatform.ObjectModel" version="$Version$"/>

<!-- CommunicationUtilities requires 8.0.3, but 8.0.3 doesn't provide a netcoreapp1.0 target -->
<dependency id="Newtonsoft.Json" version="9.0.1"/>
</dependencies>
</metadata>
Expand Down
3 changes: 2 additions & 1 deletion src/TestPlatform.TranslationLayer.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<copyright>Copyright © Microsoft Corporation</copyright>
<dependencies>
<dependency id="Newtonsoft.Json" version="7.0.1"/>
<!-- VS has a dependency on 8.0.3 version of NewtonSoft.Json. -->
<dependency id="Newtonsoft.Json" version="8.0.3"/>
</dependencies>
</metadata>
<files>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"exclude": "compile"
},
"Microsoft.TestPlatform.ObjectModel": "15.0.0-*",
"Newtonsoft.Json": "9.0.1"
},

"frameworks": {
Expand All @@ -32,13 +31,18 @@
"dotnet-test-mstest": {
"version": "1.1.1-preview",
"exclude": "compile"
}
},
"Newtonsoft.Json": "9.0.1"
}
},

"net46": {
"frameworkAssemblies": {
"System.Runtime": ""
},

"dependencies": {
"Newtonsoft.Json": "8.0.3"
}
}
},
Expand Down

0 comments on commit f85a905

Please sign in to comment.