HighTechTalks DotNet Forums  

Improved conditional compilation?

VB.net microsoft.public.dotnet.languages.vb


Discuss Improved conditional compilation? in the VB.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Martin Eckel
 
Posts: n/a

Default Improved conditional compilation? - 01-18-2012 , 01:37 AM






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

Reply With Quote
  #2  
Old   
Tom Shelton
 
Posts: n/a

Default Re: Improved conditional compilation? - 01-18-2012 , 09:24 AM






Martin Eckel brought next idea :
Quote:
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.

--
Tom Shelton

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.