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
When I open a project which has previously been build, I get a large number of warnings that are in generated code. These looking something like:
filename.cs [src\project\obj\Debug\netcoreapp2.2
Unnecessary using directive. [filename] [7,1]
Unnecessary using directive. [filename] [8,1]
Given that these are in generated files, I can go through and fix them... and next build, they come back. At present, I have 37 of these in my (relatively small) project.
Previous issues examined
#1694 - The most promising, as it has a secondary examination of this problem, which is then overlooked in favour of the actual issue. #1179 - Not applicable, as this is adding a command to fix the usings, rather than overlooking the existing ones. #1245 - Appears to be a replicant of #1179.
Expected output
I'd like for these compiler-generated files to not be included in the warnings and errors - I have no practical control over them, and they clutter and hide real warnings and errors.
The text was updated successfully, but these errors were encountered:
Environment data
dotnet --info
output:VS Code version:
C# Extension version: 11.17.1
Issue experienced:
When I open a project which has previously been build, I get a large number of warnings that are in generated code. These looking something like:
Given that these are in generated files, I can go through and fix them... and next build, they come back. At present, I have 37 of these in my (relatively small) project.
Previous issues examined
#1694 - The most promising, as it has a secondary examination of this problem, which is then overlooked in favour of the actual issue.
#1179 - Not applicable, as this is adding a command to fix the usings, rather than overlooking the existing ones.
#1245 - Appears to be a replicant of #1179.
Expected output
I'd like for these compiler-generated files to not be included in the warnings and errors - I have no practical control over them, and they clutter and hide real warnings and errors.
The text was updated successfully, but these errors were encountered: