How to disable specific compile warnings in a web application?

B

badkarspiloten

Hi there!

I have just migrated from VS 2003 to VS 2005 and are getting lots of
compile warnings when building my solution. Some of them I want to
disable.

I have managed to do this with my other projects (not web) by selecting
the project in the project explorerer and right click and choose
properties. Here I choose the compile tab and can select what warnings
to disable.

How do I disable some compile warnings in my web application?
 
V

Vadym Stetsyak

Hello, (e-mail address removed)!

b> Hi there!

b> I have just migrated from VS 2003 to VS 2005 and are getting lots of
b> compile warnings when building my solution. Some of them I want to
b> disable.

b> I have managed to do this with my other projects (not web) by
b> selecting
b> the project in the project explorerer and right click and choose
b> properties. Here I choose the compile tab and can select what
b> warnings
b> to disable.

b> How do I disable some compile warnings in my web application?


Have a look at
( http://msdn2.microsoft.com/en-us/library/441722ys.aspx )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
B

badkarspiloten



Thanks for your answer Vadym!

I forgot to mention that I use Visual Basic as primary language and
I´m looking for a solution to use the bulit in compile in Visual
Studio 2005. I have found this information how to do it using the
vbc.exe /nowarn parameter.
http://msdn2.microsoft.com/en-us/library/c86sssa5.aspx

How should I add specific compile parameters (like /nowarn) to my web
application and still be able to use the Build menu in Visual Studio?

Regards,
Marcus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top