Fixing publish to create executable with the outputName if specified
This commit is contained in:
parent
03f5379165
commit
621d8376c3
3 changed files with 36 additions and 8 deletions
|
@ -81,9 +81,12 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
|
||||
public string GetOutputExecutable()
|
||||
{
|
||||
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