Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27216

VS2010. Conditional Build. Two versions of same program in one solution ?

$
0
0
I didn't see a forum area specifically about configuring visual studio. So here goes.

I've got a program but now I want to make two versions of it. Lets call them 'Home' and 'Pro' where the Home simply has some features disabled based on the value of a boolean const or variable.

To do it manually I'd change the value of the boolean. Change the output exe name and build. Then change the bool again, change the output name and build. I've now got two different programs.

But is there some way to automate that so I just hit the button to build and VS does that for me ?

Sorry if this is the wrong area (I'm sure the mods will move it) and I'm also sorry if I didn't explain very well - I'm sure you know what I mean though.

Thanks
Ax

Viewing all articles
Browse latest Browse all 27216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>