Merge pull request #3004 from dotnet/nuget-update

Update nuget version to 3.5.0-rc-1285
This commit is contained in:
Eric Erhardt 2016-05-13 08:51:11 -05:00
commit e68a49e1d5
7 changed files with 15 additions and 20 deletions

View file

@ -9,7 +9,7 @@
"Microsoft.CSharp": "4.0.1-rc2-24027", "Microsoft.CSharp": "4.0.1-rc2-24027",
"System.Runtime.Serialization.Primitives": "4.1.1-rc2-24027", "System.Runtime.Serialization.Primitives": "4.1.1-rc2-24027",
"Microsoft.DotNet.Cli.Build.Framework": "1.0.0-*", "Microsoft.DotNet.Cli.Build.Framework": "1.0.0-*",
"NuGet.Versioning": "3.5.0-beta", "NuGet.Versioning": "3.5.0-rc-1285",
"Newtonsoft.Json": "7.0.1", "Newtonsoft.Json": "7.0.1",
"Octokit": "0.18.0", "Octokit": "0.18.0",
"Microsoft.Net.Http": "2.2.29" "Microsoft.Net.Http": "2.2.29"

View file

@ -6,10 +6,10 @@
}, },
"dependencies": { "dependencies": {
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },
"NuGet.Versioning": "3.5.0-beta", "NuGet.Versioning": "3.5.0-rc-1285",
"NuGet.Packaging": "3.5.0-beta", "NuGet.Packaging": "3.5.0-rc-1285",
"NuGet.Frameworks": "3.5.0-beta", "NuGet.Frameworks": "3.5.0-rc-1285",
"NuGet.ProjectModel": "3.5.0-beta" "NuGet.ProjectModel": "3.5.0-rc-1285"
}, },
"frameworks": { "frameworks": {
"net451": { "net451": {

View file

@ -170,11 +170,6 @@ namespace Microsoft.DotNet.ProjectModel.Resolution
continue; continue;
} }
if (library.Identity.Version.IsPrerelease && !versionRange.IncludePrerelease)
{
versionRange = VersionRange.SetIncludePrerelease(versionRange, includePrerelease: true);
}
if (item.Library != library && !versionRange.Satisfies(library.Identity.Version)) if (item.Library != library && !versionRange.Satisfies(library.Identity.Version))
{ {
var message = $"Dependency conflict. {item.Library.Identity} expected {FormatLibraryRange(item.Dependency)} but got {library.Identity.Version}"; var message = $"Dependency conflict. {item.Library.Identity} expected {FormatLibraryRange(item.Dependency)} but got {library.Identity.Version}";

View file

@ -7,8 +7,8 @@
"dependencies": { "dependencies": {
"Microsoft.Extensions.DependencyModel": { "target": "project" }, "Microsoft.Extensions.DependencyModel": { "target": "project" },
"Newtonsoft.Json": "7.0.1", "Newtonsoft.Json": "7.0.1",
"NuGet.Packaging": "3.5.0-beta", "NuGet.Packaging": "3.5.0-rc-1285",
"NuGet.RuntimeModel": "3.5.0-beta", "NuGet.RuntimeModel": "3.5.0-rc-1285",
"System.Reflection.Metadata": "1.3.0-rc2-24027" "System.Reflection.Metadata": "1.3.0-rc2-24027"
}, },
"frameworks": { "frameworks": {

View file

@ -17,10 +17,10 @@
], ],
"dependencies": { "dependencies": {
"NuGet.Commands": { "NuGet.Commands": {
"version": "3.5.0-beta", "version": "3.5.0-rc-1285",
"exclude": "compile" "exclude": "compile"
}, },
"NuGet.CommandLine.XPlat": "3.5.0-beta", "NuGet.CommandLine.XPlat": "3.5.0-rc-1285",
"Newtonsoft.Json": "7.0.1", "Newtonsoft.Json": "7.0.1",
"System.Text.Encoding.CodePages": "4.0.1-rc2-24027", "System.Text.Encoding.CodePages": "4.0.1-rc2-24027",
"System.Diagnostics.FileVersionInfo": "4.0.0-rc2-24027", "System.Diagnostics.FileVersionInfo": "4.0.0-rc2-24027",

View file

@ -11,10 +11,10 @@
}, },
"System.Diagnostics.TraceSource": "4.0.0-rc2-24027", "System.Diagnostics.TraceSource": "4.0.0-rc2-24027",
"System.Runtime.Serialization.Primitives": "4.1.1-rc2-24027", "System.Runtime.Serialization.Primitives": "4.1.1-rc2-24027",
"NuGet.Versioning": "3.5.0-beta", "NuGet.Versioning": "3.5.0-rc-1285",
"NuGet.Packaging": "3.5.0-beta", "NuGet.Packaging": "3.5.0-rc-1285",
"NuGet.Frameworks": "3.5.0-beta", "NuGet.Frameworks": "3.5.0-rc-1285",
"NuGet.ProjectModel": "3.5.0-beta", "NuGet.ProjectModel": "3.5.0-rc-1285",
"Microsoft.DotNet.ProjectModel": { "Microsoft.DotNet.ProjectModel": {
"target": "project" "target": "project"
}, },

View file

@ -4,8 +4,8 @@
"emitEntryPoint": true "emitEntryPoint": true
}, },
"dependencies": { "dependencies": {
"NuGet.RuntimeModel": "3.5.0-beta", "NuGet.RuntimeModel": "3.5.0-rc-1285",
"NuGet.Versioning": "3.5.0-beta", "NuGet.Versioning": "3.5.0-rc-1285",
"System.CommandLine": "0.1.0-e160119-1", "System.CommandLine": "0.1.0-e160119-1",
"System.Runtime.Serialization.Json": "4.0.2-rc2-24027", "System.Runtime.Serialization.Json": "4.0.2-rc2-24027",
"Microsoft.DotNet.ProjectModel": { "target": "project" }, "Microsoft.DotNet.ProjectModel": { "target": "project" },