Add a way to force runtime identifier
This commit is contained in:
parent
353ca4b427
commit
2c06d8afd7
1 changed files with 3 additions and 1 deletions
|
@ -792,7 +792,9 @@ public abstract class VSGenericTarget : ITarget
|
||||||
|
|
||||||
if (OperatingSystem.IsMacOS()) RID = "macos-x64";
|
if (OperatingSystem.IsMacOS()) RID = "macos-x64";
|
||||||
|
|
||||||
|
if (!kernel.CommandLine.WasPassed("rid"))
|
||||||
ps.WriteLine($"<RuntimeIdentifier>{RID}</RuntimeIdentifier>");
|
ps.WriteLine($"<RuntimeIdentifier>{RID}</RuntimeIdentifier>");
|
||||||
|
else ps.WriteLine($"<RuntimeIdentifier>{kernel.CommandLine["rid"]}</RuntimeIdentifier>");
|
||||||
}
|
}
|
||||||
|
|
||||||
ps.WriteLine(" </PropertyGroup>");
|
ps.WriteLine(" </PropertyGroup>");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue