提交 e198fdd4 编写于 作者: J Jared Parsons 提交者: GitHub

Merge pull request #12906 from jaredpar/packages

Unify package versions
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true,
"outputName": "RoslynRestore"
},
"emitEntryPoint": true,
"outputName": "RoslynRestore"
},
"dependencies": {
"Microsoft.Build.Framework": "0.1.0-preview-00023-160527",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00023-160527",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00023-160527",
"Microsoft.Build.Targets": "0.1.0-preview-00023-160527",
"Microsoft.Build": "0.1.0-preview-00023-160527",
"MSBuild": "0.1.0-preview-00023-160527",
"Microsoft.Build.Framework": "0.1.0-preview-00028-160627",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00028-160627",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00028-160627",
"Microsoft.Build.Targets": "0.1.0-preview-00028-160627",
"Microsoft.Build": "0.1.0-preview-00028-160627",
"MSBuild": "0.1.0-preview-00028-160627",
"Microsoft.NETCore.TestHost": "1.0.0",
"Microsoft.NETCore.App": "1.0.0-rc3-004338",
"Newtonsoft.Json": "7.0.1"
"Newtonsoft.Json": "8.0.3"
},
"frameworks": {
"NETCoreApp1.0": {
"imports": ["portable-net452", "dotnet"]
"imports": [
"portable-net452",
"dotnet"
]
}
},
"runtimes": {
"ubuntu.14.04-x64": { },
"osx.10.10-x64": { }
"ubuntu.14.04-x64": {},
"osx.10.10-x64": {}
}
}
}
\ No newline at end of file
{
"dependencies": {
"MicroBuild.Core.Sentinel": "1.0.0",
"MicroBuild.Core": "0.2.0",
"MicroBuild.Plugins.SwixBuild": "1.0.24",
"Microsoft.NETCore.Platforms": "1.0.1",
"Microsoft.CodeAnalysis.Test.Resources.Proprietary": "1.2.0-beta1-20160105-04",
"Microsoft.DiaSymReader.Native": "1.5.0-beta1",
"Microsoft.Net.Compilers": "1.3.2",
"Microsoft.Net.RoslynDiagnostics": "1.2.0-beta2",
"FakeSign": "0.9.2",
"xunit.runner.console": "2.2.0-beta1-build3239",
"Roslyn.Build.Util": "0.9.4-portable",
"RoslynDependencies.OptimizationData": "1.3.0-beta5-60518-02"
},
"frameworks": {
"net461": {}
}
}
"dependencies": {
"MicroBuild.Core.Sentinel": "1.0.0",
"MicroBuild.Core": "0.2.0",
"MicroBuild.Plugins.SwixBuild": "1.0.24",
"Microsoft.NETCore.Platforms": "1.0.1",
"Microsoft.CodeAnalysis.Test.Resources.Proprietary": "1.2.0-beta1-20160105-04",
"Microsoft.DiaSymReader.Native": "1.5.0-beta1",
"Microsoft.Net.Compilers": "1.3.2",
"Microsoft.Net.RoslynDiagnostics": "1.2.0-beta2",
"FakeSign": "0.9.2",
"xunit.runner.console": "2.2.0-beta1-build3239",
"Roslyn.Build.Util": "0.9.4-portable",
"RoslynDependencies.OptimizationData": "1.3.0-beta5-60518-02"
},
"frameworks": {
"net461": {}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"Moq": "4.2.1402.2112"
"xunit.runner.console": "2.2.0-beta1-build3239",
"Moq": "4.2.1402.2112"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
......@@ -2,9 +2,9 @@
"dependencies": {
"Microsoft.NETCore.Portable.Compatibility": "1.0.1",
"Microsoft.NETCore.Platforms": "1.0.1",
"Microsoft.Build.Framework": "0.1.0-preview-00005",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00005",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00005",
"Microsoft.Build.Framework": "0.1.0-preview-00028-160627",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00028-160627",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00028-160627",
"Microsoft.Win32.Primitives": "4.0.1",
"System.Console": "4.0.0",
"System.Diagnostics.Tools": "4.0.1",
......@@ -16,7 +16,10 @@
},
"frameworks": {
"netstandard1.3": {
"imports": [ "portable-net452", "dotnet5.4" ]
"imports": [
"portable-net452",
"dotnet5.4"
]
}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239",
"Roslyn.Microsoft.Build": "0.0.2",
"Moq": "4.2.1402.2112"
},
......@@ -9,6 +9,6 @@
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Roslyn.Microsoft.Build": "0.0.2",
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"Moq": "4.2.1402.2112",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": { }
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
"supports": {},
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0"
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
".NETPortable,Version=v4.5,Profile=Profile7": {}
......
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": { }
"net46": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.VisualStudio.Debugger.Engine": "14.3.25422",
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": { }
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.VisualStudio.Debugger.Engine": "14.3.25422",
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"System.Collections.Immutable": "1.2.0",
"Microsoft.VisualStudio.Debugger.Metadata": "14.3.25421",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.VisualStudio.Debugger.Engine": "14.3.25422",
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"BasicUndo": "0.9.3",
"RoslynDependencies.Microsoft.VisualStudio.Platform.VSEditor": "14.3.25407",
"Moq": "4.2.1402.2112",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -12,4 +12,4 @@
"runtimes": {
"win7-x86": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Moq": "4.2.1402.2112",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -10,4 +10,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.CodeAnalysis.Test.Resources.Proprietary": "1.2.0-beta1-20160105-04",
"Microsoft.DiaSymReader.Native": "1.5.0-beta1",
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": { }
"net46": {}
},
"runtimes": {
"win7": { },
"ubuntu.14.04": { },
"osx.10.10": { }
"win7": {},
"ubuntu.14.04": {},
"osx.10.10": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"Microsoft.CodeAnalysis.Test.Resources.Proprietary": "1.2.0-beta1-20160105-04",
"Microsoft.DiaSymReader": "1.1.0-beta1-60625-03",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { },
"ubuntu.14.04": { },
"osx.10.10": { }
"win7": {},
"ubuntu.14.04": {},
"osx.10.10": {}
}
}
}
\ No newline at end of file
{
"dependencies": {
"dependencies": {
"Microsoft.CSharp": "4.0.1",
"Microsoft.NETCore.Platforms": "1.0.1",
"Microsoft.NETCore.Portable.Compatibility": "1.0.1",
......@@ -14,11 +14,11 @@
"System.Xml.XDocument": "4.0.11",
"System.Xml.XmlDocument": "4.0.1",
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"netstandard1.3": {
"imports": "portable-net452"
}
}
}
}
\ No newline at end of file
......@@ -4,9 +4,9 @@
"dnxcore50.app": {}
},
"dependencies": {
"Microsoft.Build.Framework": "0.1.0-preview-00005",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00005",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00005",
"Microsoft.Build.Framework": "0.1.0-preview-00028-160627",
"Microsoft.Build.Tasks.Core": "0.1.0-preview-00028-160627",
"Microsoft.Build.Utilities.Core": "0.1.0-preview-00028-160627",
"Microsoft.NETCore": "5.0.0",
"Microsoft.NETCore.Portable.Compatibility": "1.0.1",
"NuSpec.ReferenceGenerator": "1.4.2",
......@@ -15,4 +15,4 @@
"frameworks": {
"dotnet": {}
}
}
}
\ No newline at end of file
......@@ -117,6 +117,9 @@ private static bool TryParseCommand(string[] args, ref int index, out CreateComm
case "verify":
func = (c, s) => new VerifyCommand(c, s);
break;
case "view":
func = (c, s) => new ViewCommand(c, s);
break;
case "consumes":
func = (c, s) => new ConsumesCommand(RepoData.Create(c, s));
break;
......
{
"fixedPackages": {
"Microsoft.Build.Framework": [ "0.1.0-preview-00005", "0.1.0-preview-00023-160527" ],
"Microsoft.Build.Tasks.Core": [ "0.1.0-preview-00005", "0.1.0-preview-00023-160527" ],
"Microsoft.Build.Utilities.Core": [ "0.1.0-preview-00005", "0.1.0-preview-00023-160527" ],
"Microsoft.VisualStudio.Language.Intellisense": [ "14.3.25407", "15.0.25123-Dev15Preview" ],
"Newtonsoft.Json": [ "6.0.4", "7.0.1", "8.0.2", "9.0.1" ],
"xunit.runner.console": [ "2.1.0", "2.2.0-beta1-build3239" ],
"Microsoft.VSSDK.BuildTools": [ "14.3.25407", "15.0.25201-Dev15Preview2" ],
"System.Reflection.Metadata": "1.0.21",
"System.Collections.Immutable": "1.1.36"
......
......@@ -58,6 +58,7 @@
<Compile Include="RepoConfig.cs" />
<Compile Include="RepoData.cs" />
<Compile Include="UsageCommand.cs" />
<Compile Include="ViewCommand.cs" />
<Compile Include="VerifyCommand.cs" />
</ItemGroup>
<ItemGroup>
......
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace RepoUtil
{
/// <summary>
/// This utility is used to verify the repo is in a consistent state with respect to NuGet references.
/// </summary>
internal sealed class ViewCommand : ICommand
{
private readonly string _sourcesPath;
private readonly RepoConfig _repoConfig;
internal ViewCommand(RepoConfig repoConfig, string sourcesPath)
{
_repoConfig = repoConfig;
_sourcesPath = sourcesPath;
}
public bool Run(TextWriter writer, string[] args)
{
var list = args
.Select(x => new Regex(x))
.ToList();
if (list.Count == 0)
{
list.Add(new Regex(".*"));
}
var map = new Dictionary<NuGetPackage, List<FileName>>();
foreach (var filePath in ProjectJsonUtil.GetProjectJsonFiles(_sourcesPath))
{
var fileName = FileName.FromFullPath(_sourcesPath, filePath);
foreach (var package in ProjectJsonUtil.GetDependencies(fileName.FullPath))
{
if (list.All(x => !x.IsMatch(package.Name)))
{
continue;
}
List<FileName> nameList;
if (!map.TryGetValue(package, out nameList))
{
nameList = new List<FileName>();
map[package] = nameList;
}
nameList.Add(fileName);
}
}
foreach (var pair in map.OrderBy(x => x.Key.Name))
{
var package = pair.Key;
writer.WriteLine($"{package.Name} - {package.Version}");
foreach (var fileName in pair.Value)
{
writer.WriteLine($"\t{fileName.RelativePath}");
}
}
return true;
}
/// <summary>
/// Verify the packages listed in project.json are well formed. Packages should all either have the same version or
/// be explicitly fixed in the config file.
/// </summary>
private bool VerifyProjectJsonContents(TextWriter writer, out RepoData repoData)
{
writer.WriteLine($"Verifying project.json contents");
List<NuGetPackageConflict> conflicts;
repoData = RepoData.Create(_repoConfig, _sourcesPath, out conflicts);
if (conflicts?.Count > 0)
{
foreach (var conflict in conflicts)
{
writer.WriteLine($"Error! Package {conflict.PackageName} has different versions:");
writer.WriteLine($"\t{conflict.Original.FileName} at {conflict.Original.NuGetPackage.Version}");
writer.WriteLine($"\t{conflict.Conflict.FileName} at {conflict.Conflict.NuGetPackage.Version}");
writer.WriteLine($"The versions must be the same or one must be explicitly listed as fixed in RepoData.json");
}
return false;
}
return true;
}
/// <summary>
/// Verify that all of the data contained in the repo configuration is valid. In particular that it hasn't gotten
/// stale and referring to invalid packages.
/// </summary>
/// <param name="writer"></param>
private bool VerifyRepoConfig(TextWriter writer)
{
writer.WriteLine($"Verifying RepoData.json");
var packages = ProjectJsonUtil
.GetProjectJsonFiles(_sourcesPath)
.SelectMany(x => ProjectJsonUtil.GetDependencies(x));
var set = new HashSet<NuGetPackage>(packages);
var allGood = true;
foreach (var package in _repoConfig.FixedPackages)
{
if (!set.Contains(package))
{
writer.WriteLine($"Error: Fixed package {package.Name} - {package.Version} is not used anywhere");
allGood = false;
}
}
return allGood;
}
private bool VerifyGeneratedFiles(TextWriter writer, RepoData repoData)
{
var allGood = true;
writer.WriteLine($"Verifying generated files");
if (_repoConfig.MSBuildGenerateData.HasValue)
{
var data = _repoConfig.MSBuildGenerateData.Value;
var packages = GenerateUtil.GetFilteredPackages(data, repoData);
// Need to verify the contents of the generated file are correct.
var fileName = new FileName(_sourcesPath, data.RelativeFileName);
var actualContent = File.ReadAllText(fileName.FullPath, GenerateUtil.Encoding);
var expectedContent = GenerateUtil.GenerateMSBuildContent(packages);
if (actualContent != expectedContent)
{
writer.WriteLine($"{fileName.RelativePath} does not have the expected contents");
allGood = false;
}
if (!allGood)
{
writer.WriteLine($@"Generated contents out of date. Run ""RepoUtil.change"" to correct");
return false;
}
// Verify none of the regex entries are stale.
var staleRegexList = GenerateUtil.GetStaleRegex(data, repoData);
foreach (var regex in staleRegexList)
{
writer.WriteLine($"Regex {regex} matches no packages");
allGood = false;
}
}
return allGood;
}
}
}
{
{
"supports": {},
"dependencies": {
"Newtonsoft.Json": "9.0.1",
"Newtonsoft.Json": "8.0.3",
"System.Collections.Immutable": "1.2.0"
},
"frameworks": {
......
{
{
"supports": {},
"dependencies": {
"System.Collections.Immutable": "1.2.0",
"System.Reflection.Metadata": "1.4.1-beta-24322-03",
"Newtonsoft.Json": "9.0.1"
"Newtonsoft.Json": "8.0.3"
},
"frameworks": {
".NETFramework,Version=v4.6": {}
......
{
"dependencies": {
"Newtonsoft.Json": "8.0.2",
"Newtonsoft.Json": "8.0.3",
"RestSharp": "105.2.3",
"System.Collections.Immutable": "1.2.0",
"System.Reflection.Metadata": "1.4.1-beta-24322-03",
},
"frameworks": {
"net46": { }
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
......@@ -9,4 +9,4 @@
"runtimes": {
"win7-x86": {}
}
}
}
\ No newline at end of file
{
"dependencies": {
"StreamJsonRpc": "0.14.3-alpha",
"Newtonsoft.Json": "6.0.6",
"Microsoft.VisualStudio.Threading": "14.1.131",
"Microsoft.VisualStudio.Validation": "14.1.111",
"RoslynDependencies.Microsoft.Build.Desktop": "14.3.25407"
"RoslynDependencies.Microsoft.Build.Desktop": "14.3.25407",
"Newtonsoft.Json": "8.0.3"
},
"frameworks": {
"net46": { }
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
"dependencies": {
"Newtonsoft.Json": "6.0.4",
"Microsoft.Composition": "1.0.27"
},
"frameworks": {
......
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
{
{
"dependencies": {
"xunit": "2.1.0",
"xunit.runner.console": "2.1.0",
"xunit.runner.console": "2.2.0-beta1-build3239"
},
"frameworks": {
"net46": {}
},
"runtimes": {
"win7": { }
"win7": {}
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册