Adding an OverrideRid property used in the GetRuntimeInfo task to override the rid of the CLI. This allows us to build for osx.10.11 when building on osx.10.12.
This commit is contained in:
parent
2727b191e3
commit
09d811fdbd
19 changed files with 103 additions and 21 deletions
|
@ -22,7 +22,7 @@ namespace Microsoft.DotNet.Tests
|
|||
{
|
||||
get
|
||||
{
|
||||
var rid = RuntimeEnvironmentRidExtensions.GetLegacyRestoreRuntimeIdentifier();
|
||||
var rid = DotnetRuntimeIdentifiers.InferLegacyRestoreRuntimeIdentifier();
|
||||
var projectOutputPath = $"AppWithDirectDepDesktopAndPortable\\bin\\Debug\\net451\\{rid}\\dotnet-desktop-and-portable.exe";
|
||||
return new[]
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ namespace Microsoft.DotNet.Tests
|
|||
{
|
||||
get
|
||||
{
|
||||
var rid = RuntimeEnvironmentRidExtensions.GetLegacyRestoreRuntimeIdentifier();
|
||||
var rid = DotnetRuntimeIdentifiers.InferLegacyRestoreRuntimeIdentifier();
|
||||
var projectOutputPath = $"LibraryWithDirectDependencyDesktopAndPortable\\bin\\Debug\\net451\\dotnet-desktop-and-portable.exe";
|
||||
return new[]
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue