You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, after upgrading to 16.2 preview 1, it no longer works. The compiler throws errors as if we were not in a nullable context. Surrounding code with #nullable enable/restore still works, but it's not feasible to do it for each and every code file in our solution.
Original comments
Pierre Arnaud on 5/22/2019, 05:59 PM
I've the exact same issue on all my projects.
Visual Studio Feedback System on 5/22/2019, 06:02 PM
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Kexy Biscuit on 5/22/2019, 07:14 PM
Me too, this breaks nearly everything for me.
richf on 5/22/2019, 10:04 PM
Same problem.
Building from commandline does not have any issue
Anthony Trudeau on 5/23/2019, 08:20 AM
@VisualStudio on Twitter directed me to share my comments here after some messages there.
I'm on 16.1 within a new WPF project and using the element in the project file has no affect. There are no errors, warnings, or otherwise. Using the directive in the individual code files works as expected.
The text was updated successfully, but these errors were encountered:
As of 16.116.2, the property was renamed to Nullable. This name is simpler and aligns with the command-line flag.
I'll broadcast on Twitter and check StackOverflow for the inevitable question. Sorry for the inconvenience.
This issue has been moved from VSTS ticketId 896657.
In our .csproj files, this used to enable nullable context:
Now, after upgrading to 16.2 preview 1, it no longer works. The compiler throws errors as if we were not in a nullable context. Surrounding code with
#nullable enable
/restore
still works, but it's not feasible to do it for each and every code file in our solution.Original comments
Pierre Arnaud on 5/22/2019, 05:59 PM
I've the exact same issue on all my projects.
Visual Studio Feedback System on 5/22/2019, 06:02 PM
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Kexy Biscuit on 5/22/2019, 07:14 PM
Me too, this breaks nearly everything for me.
richf on 5/22/2019, 10:04 PM
Same problem.
Building from commandline does not have any issue
Anthony Trudeau on 5/23/2019, 08:20 AM
@VisualStudio on Twitter directed me to share my comments here after some messages there.
I'm on 16.1 within a new WPF project and using the element in the project file has no affect. There are no errors, warnings, or otherwise. Using the directive in the individual code files works as expected.
The text was updated successfully, but these errors were encountered: