Fixing full framework tests.
This commit is contained in:
parent
abe7641f03
commit
7e5f18b584
4 changed files with 42 additions and 41 deletions
|
@ -14,7 +14,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
|
||||
private string _configuration;
|
||||
|
||||
private NuGetFramework _framework;
|
||||
private string _framework;
|
||||
|
||||
private string _runtime;
|
||||
|
||||
|
@ -72,6 +72,13 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
}
|
||||
|
||||
public BuildCommand WithFramework(NuGetFramework framework)
|
||||
{
|
||||
_framework = framework.GetShortFolderName();
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
public BuildCommand WithFramework(string framework)
|
||||
{
|
||||
_framework = framework;
|
||||
|
||||
|
@ -137,7 +144,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
return null;
|
||||
}
|
||||
|
||||
return $"--framework {_framework.GetShortFolderName()}";
|
||||
return $"--framework {_framework}";
|
||||
}
|
||||
|
||||
private string GetRuntime()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue