Eric's Blog

Day to day experience in .NET
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

More Code Analysis Warnings in Visual Studio 2008

Since I started to move some of my projects to Visual Studio 2008, I suddenly got a lot more warnings from Code Analysis. Today I took the effort to work through the list of the new warnings (I had zero in VS 2005). It turned out that most of them were spell checking warnings and Saml was not a recognized word, but very common in these projects. I immediately tried to add SuppressMessage-attribute at the assembly level, but that did not work. After some googeling I found the solutionĀ in theĀ Fxcop blog. What you need to do is add a xml-file with recognized words, set the build action for the xml-file to CodeAnalysisDictonary and all warnings was gone. Detailed instructions can be found in this Fxcop post.
Published den 11 oktober 2007 15:56 by ericqu
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems