Specifically, once I get the WCAG Anaylsis warnings for a website into my warnings window I can't get rid of them, until I close down studio. When building another project in the same solution they stay there.
Anyone got any ideas?
I came across this question yesterday looking for an easy answer. While closing the solution works for me, and then rebuilding only the solution I want to see warnings on, I found that doing a "Clean Solution" (right-click solution, select "Clean Solution") will clear the Error List pane (including warnings).
Unload/Reload project
I regularly get stubborn errors that do not clear (in the VS2010 Error List with MS Ajax Minifier). I found that Unloading and Reloading the project clears the errors; this works more easily than closing and re-opening the solution. This is less than ideal, but is the best solution I've found to work around the buggy interaction between VS2010 and MS Ajax Minifier.
Error 1 The Microsoft Ajax Minifier does not have permission to write to Content\ ... .min.css
Close all open documents and rebuild the solution to get rid of those warnings. I have also that problem on webprojects and WCAG-varnings, but they disapear when Im doing a rebuild.
I know this is an old thread but was having the same problem. I found that the warnings would dissapear by doing the following:
- Closing the documents in question
- Clicking on the Output tab
- Rebuild the application
Now when you click back on the Error List tab and look at warnings, they should be reset.
You can permanently disable warnings:
website -> property pages -> accessibility -> uncheck "show warnings"
Otherwise just close all files
window -> close all documents
Just close Visual Studio and re-open?
Just click on the "Warnings" button at the top of the window to hide them.
来源:https://stackoverflow.com/questions/336854/how-can-i-clear-the-warnings-sections-of-the-error-list-in-vs2008