Skip to content

Commit

Permalink
Pass $(Nullable) to csc. (#6093)
Browse files Browse the repository at this point in the history
$(Nullable) not passed into csc invoked in XamlPreCompile, caused nullable warnings in projects with xaml and nullable enabled.
  • Loading branch information
huoyaoyuan committed Feb 4, 2021
1 parent f8d5553 commit 05b750b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tasks/Microsoft.CSharp.CurrentVersion.targets
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
NoLogo="$(NoLogo)"
NoStandardLib="$(NoCompilerStandardLib)"
NoWin32Manifest="$(NoWin32Manifest)"
Nullable="$(Nullable)"
Optimize="$(Optimize)"
OutputAssembly="@(XamlIntermediateAssembly)"
PdbFile="$(PdbFile)"
Expand Down

0 comments on commit 05b750b

Please sign in to comment.