Use the portable linux-x64
runtime when building on Linux.
This commit is contained in:
parent
dff66c1acb
commit
a97b572e49
4 changed files with 13 additions and 1 deletions
|
@ -16,10 +16,14 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
[Output]
|
||||
public string OSName { get; set; }
|
||||
|
||||
[Output]
|
||||
public string OSPlatform { get; set; }
|
||||
|
||||
public override bool Execute()
|
||||
{
|
||||
Rid = RuntimeEnvironment.GetRuntimeIdentifier();
|
||||
OSName = GetOSShortName();
|
||||
OSPlatform = RuntimeEnvironment.OperatingSystemPlatform.ToString().ToLower();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue