-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that SDK and app archs match before setting
DOTNET_ROOT
when …
…using `dotnet run` (#19860) * Check that dotnet arch and app's arch match before setting DOTNET_ROOT * Check RuntimeIdentifier prop * Use new DOTNET_ROOT format Update tests * Remove spaces in prop Allow test asset copy * Update test * Update how we retrieve enum value name Keep behavior if there is no host to retrieve target arch from * Update Program.cs * Use ToUpperInvariant * Set ProcessArchitecture as targetArchitecture might be null
- Loading branch information
Showing
4 changed files
with
64 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters