I\'m getting a:
type or namespace name could not be found
error for a C# WPF app in VS2010. This area of code was compiling fine
To solve this issue it can also help to delete and recreate the *.sln.DotSettings file of the associated solution.
*.sln.DotSettings