Improved conditional compilation?

  • Thread starter Thread starter Martin Eckel
  • Start date Start date
M

Martin Eckel

Hello,

I am using Visual Basic / Visual Studio 2008 and I am producing two
different program versions from one project file.

I am using conditional compilation with #If, #Else, #Endif.

But further I would like to exclude whole files from the build and also
change AssemblyName / Output name conditionally.

It seems that this is not possible with native Visual Studio?

Is there an add-in or something like this to make this possible?

Best regards,
Martin Eckel
 
Martin Eckel brought next idea :
Hello,

I am using Visual Basic / Visual Studio 2008 and I am producing two
different program versions from one project file.

I am using conditional compilation with #If, #Else, #Endif.

But further I would like to exclude whole files from the build and
also change AssemblyName / Output name conditionally.

It seems that this is not possible with native Visual Studio?

Is there an add-in or something like this to make this possible?

Best regards,
Martin Eckel

Not in vs - but, you should be able to accomplish this using MSBuild.
 
Back
Top