Jump to content

Compiling Option?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
PGP_Protector

PGP_Protector

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 253 posts
Question.

In my project I'm using a Flag called
public static bool DebuggingSystem = false;

Right now this is Hard coded But I don't think this is the best way to do this.

What I'm wondering is, can Visual Studio be configured to do the following

Compile 3 Versions of the Code at the same time when I select Build / clean build ?
V1 Client Version with DebuggingSystem = false;
V2 Testing Version with DebuggingSystem = true;
V3 Debugging Version with DebuggingSystem = true;

#2
lobo521

lobo521

    Learning Programmer

  • Members
  • PipPipPip
  • 57 posts
When it goes to building and deploying problems VS realy sucks. Try nant or other building software. You can also move this setting to some properties file and edit it when u need.