Skip to content

Apply RID override behaviour from runtime to aspnetcore/installer#15143

Merged
directhex merged 1 commit into
dotnet:mainfrom
directhex:3151
Dec 19, 2022
Merged

Apply RID override behaviour from runtime to aspnetcore/installer#15143
directhex merged 1 commit into
dotnet:mainfrom
directhex:3151

Conversation

@directhex

Copy link
Copy Markdown

Running ./build.sh on a Mac creates a runtime pack with a RID of osx-x64 due to an OS override in the proj file. Later, aspnetcore tries to restore a runtime but does not override the RID - it searches for osx.12-x64 and fails.

This PR attempts to unify RID override behaviour around how it's done in runtime. The Windows and FreeBSD overrides are not tested, but should be consistent (I expect they currently fail in the same way macOS does)

Closes: dotnet/source-build#3151

@directhex directhex requested a review from a team as a code owner December 16, 2022 14:19
Comment thread src/SourceBuild/tarball/content/repo-projects/aspnetcore.proj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[VMR] Inconsistent use of RID overrides breaks aspnetcore build on Windows & Mac

2 participants