Warning as Error 2008 is not a valid warning number
-
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?
creativity..
- Moved by Barry WangMicrosoft Contingent Staff Tuesday, August 14, 2012 9:01 AM MSBuild related (From:Visual Studio Setup and Installation)
All Replies
-
Friday, August 10, 2012 3:10 AM
Hi sanjeev40084,
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
Regards,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
-
Wednesday, August 15, 2012 1:38 AMModerator
Hi Sanjeev
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.
thanks.
Forrest Guo | MSDN Community Support | Feedback to manager
- Proposed As Answer by Forrest GuoModerator Wednesday, August 15, 2012 1:38 AM
- Marked As Answer by Ego JiangMicrosoft Contingent Staff, Moderator Tuesday, September 11, 2012 7:27 AM

