Skip to content
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

Document BuildWithNetFrameworkHostedCompiler and friends #45620

Merged
merged 2 commits into from
Apr 7, 2025

Conversation

jjonescz
Copy link
Member

@jjonescz jjonescz commented Apr 3, 2025

Documents the pre-existing property BuildWithNetFrameworkHostedCompiler and two related properties that are being added in dotnet/sdk#48028.


Internal previews

📄 File 🔗 Preview link
docs/core/project-sdk/msbuild-props.md docs/core/project-sdk/msbuild-props

Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jjonescz

Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@gewarren gewarren merged commit adbeb05 into dotnet:main Apr 7, 2025
8 checks passed
@jjonescz jjonescz deleted the compiler-props branch April 7, 2025 16:17
Comment on lines +865 to +867
### RoslynUseMSBuildCompiler

`RoslynUseMSBuildCompiler=true` can be used to opt out of an implicit `RoslynUseSdkCompiler=true`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Why is this property necessary? Isn't setting <RoslynUseSdkCompiler>false</RoslynUseSdkCompiler> sufficient?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it should be sufficient. RoslynUseMSBuildCompiler was documented by @jaredpar in https://github.com/dotnet/sdk/blob/main/documentation/general/decouple-vs-and-net-sdk.md that's why I included it in the implementation and here, but I agree it feels like we might not need it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that property already exposed? If not, I would probably remove it from this document and ideally from the implementation. Unless there's a reason why it needs to exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants