Improved conditional compilation?

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
 
T

Tom Shelton

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top