Illegal and C#-only warning levels shown for F# projects #9469
Labels
Feature-Project-Properties-Designer
The new project property pages which replace the legacy AppDesigner
Triage-Approved
Reviewed and prioritized
Milestone
Visual Studio Version
Visual Studio Version 17.8.6
and 17.10.0 Preview 7.0
Summary
The warning levels shown for an F# project are the ones for a C# project. Furthermore, these warning levels are invalid for F# (it uses only 1-5).
Steps to Reproduce
Expected Behavior
The F# warning levels.
Actual Behavior
The C# warning levels, some of which are invalid when selected.
User Impact
At the least, confusion, at the worst, broken builds:
These were introduced after #7978 was implemented (through #7982 and #8004). Going over these PRs, there's nothing in these discussions (unless I missed it) that makes these options language-dependent, or, if they cannot be language-dependent, language agnostic.
I've no problem issuing a PR for this, but I'm not very familiar with this project and there doesn't seem to be a clear mechanism for these enums to be selected based on a current project language setting.
/cc @vzarytovskii
The text was updated successfully, but these errors were encountered: