Fixing the origin versions of BrowserLink to migrate.

This commit is contained in:
Livar Cunha 2017-02-22 20:07:47 -08:00
parent ef49240f78
commit 24431edfa3
2 changed files with 6 additions and 7 deletions

View file

@ -192,7 +192,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration
new PackageDependencyInfo new PackageDependencyInfo
{ {
Name = "Microsoft.VisualStudio.Web.BrowserLink.Loader", Name = "Microsoft.VisualStudio.Web.BrowserLink.Loader",
Version = "[1.1.0-*,)" Version = "[14.1.0-*,)"
}, },
new PackageDependencyInfo new PackageDependencyInfo
{ {
@ -204,7 +204,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration
new PackageDependencyInfo new PackageDependencyInfo
{ {
Name = "Microsoft.VisualStudio.Web.BrowserLink.Loader", Name = "Microsoft.VisualStudio.Web.BrowserLink.Loader",
Version = "[1.0.0-*,1.1.0)" Version = "[14.0.0-*,14.1.0)"
}, },
new PackageDependencyInfo new PackageDependencyInfo
{ {

View file

@ -19,11 +19,10 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
[InlineData("Microsoft.VisualStudio.Web.CodeGenerators.Mvc", "1.0.0-preview3-final", "Microsoft.VisualStudio.Web.CodeGeneration.Design", ConstantPackageVersions.AspNetToolsVersion)] [InlineData("Microsoft.VisualStudio.Web.CodeGenerators.Mvc", "1.0.0-preview3-final", "Microsoft.VisualStudio.Web.CodeGeneration.Design", ConstantPackageVersions.AspNetToolsVersion)]
[InlineData("Microsoft.VisualStudio.Web.CodeGenerators.Mvc", "1.1.0-preview4-final", "Microsoft.VisualStudio.Web.CodeGeneration.Design", ConstantPackageVersions.AspNet110ToolsVersion)] [InlineData("Microsoft.VisualStudio.Web.CodeGenerators.Mvc", "1.1.0-preview4-final", "Microsoft.VisualStudio.Web.CodeGeneration.Design", ConstantPackageVersions.AspNet110ToolsVersion)]
[InlineData("Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Design", "1.1.0-preview4-final", "Microsoft.AspNetCore.Mvc.Razor.ViewCompilation", ConstantPackageVersions.AspNet110ToolsVersion)] [InlineData("Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Design", "1.1.0-preview4-final", "Microsoft.AspNetCore.Mvc.Razor.ViewCompilation", ConstantPackageVersions.AspNet110ToolsVersion)]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "1.0.0-preview2-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")] [InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.0.0-preview2-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "1.0.0-*", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")] [InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.0.0-*", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "1.0.1", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")] [InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.0.1", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "1.0.0-preview3-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.0.1")] [InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "14.1.0-preview4-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.1.0")]
[InlineData("Microsoft.VisualStudio.Web.BrowserLink.Loader", "1.1.0-preview4-final", "Microsoft.VisualStudio.Web.BrowserLink", "1.1.0")]
public void ItMigratesProjectDependenciesToANewNameAndVersion( public void ItMigratesProjectDependenciesToANewNameAndVersion(
string sourceToolName, string sourceToolName,
string sourceVersion, string sourceVersion,