Adding a tool migration for BundleMinifier.Core to move all version of the tool to 2.2.301 during migration. (#4613)
This commit is contained in:
parent
28ba817dc1
commit
d6eef01015
3 changed files with 6 additions and 1 deletions
|
@ -11,5 +11,6 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
public const string XUnitRunnerPackageVersion = "2.2.0-beta4-build1188";
|
||||
public const string MstestTestAdapterVersion = "1.1.3-preview";
|
||||
public const string MstestTestFrameworkVersion = "1.0.4-preview";
|
||||
public const string BundleMinifierToolVersion = "2.2.301";
|
||||
}
|
||||
}
|
|
@ -67,7 +67,10 @@ namespace Microsoft.DotNet.ProjectJsonMigration
|
|||
{ "Microsoft.Extensions.SecretManager.Tools", new PackageDependencyInfo {
|
||||
Name = "Microsoft.Extensions.SecretManager.Tools",
|
||||
Version = ConstantPackageVersions.AspNetToolsVersion } },
|
||||
{ "Microsoft.AspNetCore.Server.IISIntegration.Tools", null}
|
||||
{ "Microsoft.AspNetCore.Server.IISIntegration.Tools", null},
|
||||
{ "BundlerMinifier.Core", new PackageDependencyInfo {
|
||||
Name = "BundlerMinifier.Core",
|
||||
Version = ConstantPackageVersions.BundleMinifierToolVersion } }
|
||||
};
|
||||
}
|
||||
}
|
|
@ -56,6 +56,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
[InlineData("Microsoft.VisualStudio.Web.CodeGeneration.Tools", "Microsoft.VisualStudio.Web.CodeGeneration.Tools", ConstantPackageVersions.AspNetToolsVersion)]
|
||||
[InlineData("Microsoft.DotNet.Watcher.Tools", "Microsoft.DotNet.Watcher.Tools", ConstantPackageVersions.AspNetToolsVersion)]
|
||||
[InlineData("Microsoft.Extensions.SecretManager.Tools", "Microsoft.Extensions.SecretManager.Tools", ConstantPackageVersions.AspNetToolsVersion)]
|
||||
[InlineData("BundlerMinifier.Core", "BundlerMinifier.Core", ConstantPackageVersions.BundleMinifierToolVersion)]
|
||||
public void It_migrates_asp_project_tools_to_a_new_name_and_version(
|
||||
string sourceToolName,
|
||||
string targetToolName,
|
||||
|
|
Loading…
Add table
Reference in a new issue