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

Solution code analysis messages not shown unless file is opened #7471

Open
vsfeedback opened this issue Nov 13, 2024 · 0 comments
Open

Solution code analysis messages not shown unless file is opened #7471

vsfeedback opened this issue Nov 13, 2024 · 0 comments

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


[severity:It's more difficult to complete my work]
Visual Studio is not showing code analysis messages for all solution files in a very small C# project. I have the options "Text Editor -> C# -> Advanced -> Run background code analysis for" and "Show compiler errors and warnings for" set to "Entire Solution" (not sure if they are relevant, but just in case). I also have a pair of Roslyn analyzer packages installed, and a file that has warnings that should be detected by both packages and the regular Visual Studio analyzers ("IDExxx").

If that file is closed, the error list window shows nothing (set to show messages for the entire solution, for build + Intellisense, and the errors, warnings and messages filters enabled); if I open the file, it shows the errors, until I close it. When executing the menu item "Analyze -> Run Code Analysis -> On Solution" the status bar shows the analysis ended, but there still are no messages shown.

I have tried with a different project and it works (though with a different issue I'll report separately).


Original Comments

Feedback Bot on 11/10/2024, 05:37 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.

Feedback Bot on 11/13/2024, 01:56 PM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant