Merge pull request #5178 from livarcocc/update_tools_msbuild3
Updating the migrated tools version to 1.0.0-msbuild3-final.
This commit is contained in:
commit
06d33f01ce
4 changed files with 14 additions and 11 deletions
|
@ -5,13 +5,13 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
{
|
||||
internal class ConstantPackageVersions
|
||||
{
|
||||
public const string AspNetToolsVersion = "1.0.0-msbuild1-final";
|
||||
public const string TestSdkPackageVersion = "15.0.0-preview-20161024-02";
|
||||
public const string AspNetToolsVersion = "1.0.0-msbuild3-final";
|
||||
public const string TestSdkPackageVersion = "15.0.0-preview-20161227-02";
|
||||
public const string XUnitPackageVersion = "2.2.0-beta4-build3444";
|
||||
public const string XUnitRunnerPackageVersion = "2.2.0-beta4-build1194";
|
||||
public const string MstestTestAdapterVersion = "1.1.3-preview";
|
||||
public const string MstestTestFrameworkVersion = "1.0.4-preview";
|
||||
public const string MstestTestAdapterVersion = "1.1.8-rc";
|
||||
public const string MstestTestFrameworkVersion = "1.0.8-rc";
|
||||
public const string BundleMinifierToolVersion = "2.2.301";
|
||||
public const string WebSdkPackageVersion = "1.0.0-alpha-20161117-1-119" ;
|
||||
public const string WebSdkPackageVersion = "1.0.0-alpha-20161205-1-154" ;
|
||||
}
|
||||
}
|
|
@ -250,7 +250,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
mockProj.Items.Should().ContainSingle(
|
||||
i => (i.Include == "Microsoft.NET.Test.Sdk" &&
|
||||
i.ItemType == "PackageReference" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161024-02" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161227-02" &&
|
||||
i.GetMetadataWithName("Version").ExpressedAsAttribute));
|
||||
|
||||
mockProj.Items.Should().NotContain(
|
||||
|
@ -283,7 +283,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
mockProj.Items.Should().ContainSingle(
|
||||
i => (i.Include == "Microsoft.NET.Test.Sdk" &&
|
||||
i.ItemType == "PackageReference" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161024-02") &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161227-02") &&
|
||||
i.GetMetadataWithName("Version").ExpressedAsAttribute);
|
||||
|
||||
mockProj.Items.Should().ContainSingle(
|
||||
|
@ -325,7 +325,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
mockProj.Items.Should().ContainSingle(
|
||||
i => (i.Include == "Microsoft.NET.Test.Sdk" &&
|
||||
i.ItemType == "PackageReference" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161024-02" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161227-02" &&
|
||||
i.GetMetadataWithName("Version").ExpressedAsAttribute));
|
||||
|
||||
mockProj.Items.Should().ContainSingle(
|
||||
|
@ -364,19 +364,19 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
mockProj.Items.Should().ContainSingle(
|
||||
i => (i.Include == "Microsoft.NET.Test.Sdk" &&
|
||||
i.ItemType == "PackageReference" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161024-02" &&
|
||||
i.GetMetadataWithName("Version").Value == "15.0.0-preview-20161227-02" &&
|
||||
i.GetMetadataWithName("Version").ExpressedAsAttribute));
|
||||
|
||||
mockProj.Items.Should().ContainSingle(
|
||||
i => (i.Include == "MSTest.TestAdapter" &&
|
||||
i.ItemType == "PackageReference" &&
|
||||
i.GetMetadataWithName("Version").Value == "1.1.3-preview" &&
|
||||
i.GetMetadataWithName("Version").Value == "1.1.8-rc" &&
|
||||
i.GetMetadataWithName("Version").ExpressedAsAttribute));
|
||||
|
||||
mockProj.Items.Should().ContainSingle(
|
||||
i => (i.Include == "MSTest.TestFramework" &&
|
||||
i.ItemType == "PackageReference" &&
|
||||
i.GetMetadataWithName("Version").Value == "1.0.4-preview" &&
|
||||
i.GetMetadataWithName("Version").Value == "1.0.8-rc" &&
|
||||
i.GetMetadataWithName("Version").ExpressedAsAttribute));
|
||||
|
||||
mockProj.Items.Should().NotContain(
|
||||
|
|
|
@ -136,6 +136,8 @@ namespace Microsoft.DotNet.Migration.Tests
|
|||
.WithSourceFiles();
|
||||
|
||||
var projectDirectory = testInstance.Root.FullName;
|
||||
|
||||
File.Copy("NuGet.tempaspnetpatch.config", Path.Combine(projectDirectory, "NuGet.Config"));
|
||||
|
||||
MigrateProject(new [] { projectDirectory });
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
|
||||
<clear />
|
||||
<add key="cli-deps" value="https://dotnet.myget.org/F/cli-deps/api/v3/index.json" />
|
||||
<add key="asp-msbuild3-feed" value="https://dotnet.myget.org/F/msbuildtools/api/v3/index.json" />
|
||||
<add key="aspnet101" value="https://www.myget.org/F/aspnet101/api/v3/index.json" />
|
||||
<add key="dotnet-web" value="https://dotnet.myget.org/F/dotnet-web/api/v3/index.json" />
|
||||
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
|
||||
|
|
Loading…
Reference in a new issue