Fixing ProjectDependenciesCommandFactory to resolve tools
if the package name is different from the dll name Addresses #2592
This commit is contained in:
parent
3d8cbba932
commit
1aac8fb643
12 changed files with 231 additions and 21 deletions
|
@ -61,7 +61,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
Name = "dotnet-dependency-tool-invoker",
|
||||
IsTool = true,
|
||||
Path = "TestAssets/TestPackages/dotnet-dependency-tool-invoker",
|
||||
IsApplicable = CurrentPlatform.IsWindows,
|
||||
IsApplicable = true,
|
||||
VersionSuffix = s_testPackageBuildVersionSuffix,
|
||||
Clean = true,
|
||||
Frameworks = new [] { "netcoreapp1.0" }
|
||||
|
@ -107,6 +107,16 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
Frameworks = new [] { "netcoreapp1.0" }
|
||||
},
|
||||
new TestPackageProject()
|
||||
{
|
||||
Name = "ToolWithOutputName",
|
||||
IsTool = true,
|
||||
Path = "TestAssets/TestPackages/ToolWithOutputName",
|
||||
IsApplicable = true,
|
||||
VersionSuffix = string.Empty,
|
||||
Clean = true,
|
||||
Frameworks = new [] { "netcoreapp1.0" }
|
||||
},
|
||||
new TestPackageProject()
|
||||
{
|
||||
Name = "Microsoft.DotNet.Cli.Utils",
|
||||
IsTool = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue