Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Conditional Compilation Directives in aspx file?

Reply
Thread Tools

Conditional Compilation Directives in aspx file?

 
 
Praveen
Guest
Posts: n/a
 
      04-12-2005
Hi,

Is there some kind of support for "Conditional Compilation Directives"
in the aspx file?

I want to enclose the Register tag as follows:
#if DOTNET10
<%@ Register TagPrefix="sfwg" Namespace="CustomNameSpace"
Assembly="CustomAssembly1.0"%>
#else
<%@ Register TagPrefix="sfwg" Namespace="CustomNameSpace"
Assembly="CustomAssembly1.1"%>
#endif

And of course be able to define the "DOTNET10" directive somewhere
(maybe in the web.config file).

TIA,
Praveen

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional compilation in VHDL avishay VHDL 4 08-01-2005 05:57 PM
? ELSE Conditional Comment / Using Conditional Comments Inside Other Tags To Comment Out Attributes Alec S. HTML 10 04-16-2005 02:21 AM
Conditional Compilation Directives in aspx file? Praveen Ramesh ASP .Net 2 04-13-2005 03:28 AM
Conditional compilation sans the cpp Steven T. Hatton C++ 11 08-19-2004 02:22 PM
Preprocessor conditional compilation variable not being saved Chris P ASP .Net 0 10-28-2003 08:48 PM



Advertisments