>I am wanting to use pre-processor directives(#if, #else) or something >simlar to that in my code allow for differents Consts to be used. I would >like the consts to be different based off the compile I am doing.
>An example is, I want to create database conection string for a local >compile and one for a production compile. There seems to be no easy way >do this but put a #define at the top of each page. Right-click your project, go to properties. Select the Configuration Properties node. The first item in the property grid is "Conditional Compilation Constants" and shoudl default to "DEBUG;TRACE". Just add your own in there and you can #if on them to your heart's desire. adam.. --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
