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

Pass $(Nullable) to csc in XamlPreCompile #6093

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

huoyaoyuan
Copy link
Member

Fixes #6088

Context

$(Nullable) not passed into csc invoked in XamlPreCompile, causing nullable waring in project with xaml and nullable enabled

Changes Made

Passes $(Nullable) as targets in roslyn

Testing

None

Notes

I wonder what are involved by this issue. WPF (.NET Core) is not involve.
Technically this is a critical bug to every version after 16.3 because it blocks WarningAsError.

Copy link
Member

@benvillalobos benvillalobos left a comment

Choose a reason for hiding this comment

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

LGTM. We'll get this merged when our branches open up.

@benvillalobos benvillalobos added the merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now. label Jan 29, 2021
@Forgind Forgind merged commit 05b750b into dotnet:master Feb 4, 2021
@Forgind
Copy link
Member

Forgind commented Feb 4, 2021

Thanks @huoyaoyuan!

@huoyaoyuan huoyaoyuan deleted the csc-nullable branch February 4, 2021 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-branch-open PRs that are approved, except that there is a problem that means we are not merging stuff right now.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Csc invoked in XamlPrecompile doesn't get Nullable passed
3 participants