Skip to content

Make sure that CoreLib ref and src build matches #77116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

ViktorHofer
Copy link
Member

Fixes #75897

This change fixes src/CoreLib referencing ref/CoreLib with a different set of global properties. When building the runtime and libraries in Release mode, the build (at least inside VS) complains that the ref/CoreLib assembly (in Debug configuration) is missing.

Undefined behavior: When src/CoreLib is built in Checked configuration, should ref/CoreLib then also be built in Checked mode?

This change fixes src/CoreLib referencing ref/CoreLib with a different
set of global properties. When building the runtime and libraries in
Release mode, the build (at least inside VS) complains that the
ref/CoreLib assembly (in Debug configuration) is missing.
@ghost
Copy link

ghost commented Oct 17, 2022

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #75897

This change fixes src/CoreLib referencing ref/CoreLib with a different set of global properties. When building the runtime and libraries in Release mode, the build (at least inside VS) complains that the ref/CoreLib assembly (in Debug configuration) is missing.

Undefined behavior: When src/CoreLib is built in Checked configuration, should ref/CoreLib then also be built in Checked mode?

Author: ViktorHofer
Assignees: -
Labels:

area-Infrastructure-libraries

Milestone: -

@ViktorHofer ViktorHofer requested a review from ericstj October 17, 2022 14:52
@ViktorHofer
Copy link
Member Author

I'm not 100% sure if src/CoreLib should govern ref/CoreLib's build configuration. It could also be the case that the initial described issue happened because ref/CoreLib was missing from solution files.

@ViktorHofer ViktorHofer deleted the MakeCoreLibRefAndSrcConfigurationsConsistent branch October 19, 2022 16:57
@ghost ghost locked as resolved and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Release-only build has errors due to ResolvedMatchingContract when re-compiling in Visual Studio
1 participant