Groups > Asp .Net > Visual Studio 2005 > Re: Preprocessor Directives




Preprocessor Directives

Preprocessor Directives
Tue, 1 Apr 2008 06:04:19 +0000
hello

how do i create a preprocessor directive which will apply to every page and
class within my ASP.NET website project? For my WinForm projects this option is
located under the Build options. but i cannot find where to do it for my website
project.

thanks
Post Reply
Re: Preprocessor Directives
Tue, 1 Apr 2008 07:08:27 +0000
I think you will need to convert the website to a Web Application Project to
have the build options available.
Post Reply
Re: Preprocessor Directives
Wed, 2 Apr 2008 11:25:01 +0000
Hi,

I agree with the member above. There are two project types in asp.net, asp.net
website project and asp.net web application project. The asp.net website project
doesn't have pre-and post-build functions. If you want to use these functions,
you need to install Visual Studio 2005 SP1, and then convert your website
project to asp.net web application.

For more information downloading Visual Studio 2005 SP1, see
http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx

 

I hope this helps.
Post Reply
about | contact