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.