sanjeev40084
sanjeev40084

Reputation: 9617

Warning as Error 2008 is not a valid warning number

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?

Upvotes: 2

Views: 5219

Answers (1)

gcochard
gcochard

Reputation: 11734

Are there any @pragma warnings in the project? Do you get a line number with your error?

EDIT:

Try unchecking treat warnings as errors in your project config. That should allow you to compile.

Upvotes: 2

Related Questions