Wednesday, August 08, 2012 6:01 PM
I converted one of the .net 2.0 (VS2005) solution to work with VS2010 (didn't change the framework). Now when I try to build I keep getting this error message:
'Warning as Error 2008 is not a valid warning number'.
Does anyone know how I can fix this?
- Moved by Barry WangMicrosoft Contingent Staff Tuesday, August 14, 2012 9:01 AM MSBuild related (From:Visual Studio Setup and Installation)
Friday, August 10, 2012 3:10 AM
Since your error is a project error I have to redirect you to the right forum.
What's your project type and programming language?
If it is a C# project, please post your question here: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/threads
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
Wednesday, August 15, 2012 1:38 AMModerator
This is a known issue in Visual Studio 2010 RTM, but fixed by VS 2010 SP1. Please apply VS 2010 SP1 if you haven't yet applied.
In addition, the workaround for this is "treat warning as error" setting in project properties page, Build settings. Set it to None should suppress it.
Forrest Guo | MSDN Community Support | Feedback to manager