Define a compilation switch

  • Thread starter Thread starter Samuel Shulman
  • Start date Start date
Thank you,


I have express version, is that it why I don't seem to have this option
 
I am also using VB.Net 2005 Express Edition. In the Solution Explorer
window, if you select the project name and then click on the Properties
button in the Solution Explorer pane, you don't see 'Application',
'Compile', 'Debug' etc? You can also go to properties from the Project
menu -> <Project name> Properties...

Regards
Sanjib
 
I could see the tab but I can't find anywhere to add the constants

btw, I added a #Define to the program but it is better to define in a
central location

Thank you
 
Unless you are willing to add some extra code to read a properties file, I
am not aware of any other ways other than what you just mentioned. But it
seems to me VC#.Net has conditional compilation symbols option under 'Build'
tab of the project properties window.

Regards
Sanjib
 
I am coming from VB.NET 2003 and it is under the build tab I expected
something similar in a later version

Samuel
 
Back
Top