Skip to content

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