How can I clear the Warnings sections of the error list In VS2008?

早过忘川 提交于 2019-12-09 14:48:08

问题


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?


回答1:


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).




回答2:


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




回答3:


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.




回答4:


I know this is an old thread but was having the same problem. I found that the warnings would dissapear by doing the following:

  1. Closing the documents in question
  2. Clicking on the Output tab
  3. Rebuild the application

Now when you click back on the Error List tab and look at warnings, they should be reset.




回答5:


You can permanently disable warnings:

website -> property pages -> accessibility -> uncheck "show warnings"

Otherwise just close all files

window -> close all documents



回答6:


Just close Visual Studio and re-open?




回答7:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!