Adding support for output file name for apps.
This commit is contained in:
parent
856fb8d6d9
commit
03f5379165
9 changed files with 88 additions and 34 deletions
|
@ -261,9 +261,12 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
|
||||
public string GetOutputExecutableName()
|
||||
{
|
||||
var result = _project.Name;
|
||||
result += RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".exe" : "";
|
||||
return result;
|
||||
return _project.Name + GetExecutableExtension();
|
||||
}
|
||||
|
||||
public string GetExecutableExtension()
|
||||
{
|
||||
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".exe" : "";
|
||||
}
|
||||
|
||||
private string BuildArgs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue