From f3744efc5c1a211e73f37816312dbff2a3a693a9 Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Mon, 20 Mar 2017 12:34:36 -0700 Subject: [PATCH] Use Version 8.0.3 of Json.Net --- NuGetPackageVerifier.json | 14 ++++++++++++++ ...soft.VisualStudio.LanguageServices.Razor.csproj | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/NuGetPackageVerifier.json b/NuGetPackageVerifier.json index 957f6bc27a..94486f031b 100644 --- a/NuGetPackageVerifier.json +++ b/NuGetPackageVerifier.json @@ -1,4 +1,18 @@ { + "adx": { + "rules": [ + "DefaultCompositeRule" + ], + "packages": { + "Microsoft.VisualStudio.LanguageServices.Razor": { + "Exclusions": { + "WRONG_JSONNET_VERSION": { + "Microsoft.VisualStudio.LanguageServices.Razor; .NETFramework,Version=v4.6": "This package intentionally depends on version 8.0.3 of Newtonsoft.Json because of the dependency on Visual Studio." + } + } + } + } + }, "adx-nonshipping": { // Packages written by the ADX team but that don't ship on NuGet.org (thus, no need to scan anything in them) "rules": [ // Don't run any rules for packages the ADX team creates but doesn't ship. diff --git a/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj b/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj index 40f0a7d387..67a3d5daf5 100644 --- a/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj +++ b/src/Microsoft.VisualStudio.LanguageServices.Razor/Microsoft.VisualStudio.LanguageServices.Razor.csproj @@ -37,7 +37,8 @@ - + +