G
Guest
I'm relatively new to C# .Net (just as a warning ;-)).
I'm wanting to do two different builds of my .Net app, one for the full
retail the other for a simple trial that has a few nag screens and some
limitations on features.
I've set it up in my configuration manager in VS2003 to have one release
build and one "trialversion" build.
My question is how can I tell the difference in my code and have the
compiler not include pieces of code if it is being built with the
"trialversion" configuration?
I was able to do this relatively simplt in VC++ with the #ifdef's and the
like. Is there anything like that with C# .Net?
thanks in advance,
ed
I'm wanting to do two different builds of my .Net app, one for the full
retail the other for a simple trial that has a few nag screens and some
limitations on features.
I've set it up in my configuration manager in VS2003 to have one release
build and one "trialversion" build.
My question is how can I tell the difference in my code and have the
compiler not include pieces of code if it is being built with the
"trialversion" configuration?
I was able to do this relatively simplt in VC++ with the #ifdef's and the
like. Is there anything like that with C# .Net?
thanks in advance,
ed