Two versions of one program in one Visual Studio 2012 project?

NDennisV
NDennisV used Ask the Experts™
on
I have a Visual Studio 2012 C#, Winforms program.

I want to make a slightly advanced version of this program without having to create a new project and without losing the current version.

I'll need to be able to switch back and forth to publish both versions.

How can I do this please?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
bbaoIT Consultant

Commented:
> to switch back and forth to publish both versions.

basically, that just means you need to maintain the two versions at the same time.

therefore, make a copy of the source version, rename it, open and edit the copied version as if it is a new different project.

make it simple and clear.
Senior .Net Consultant
Top Expert 2016
Commented:
if the changes are not to major, you could have a single solution and use conditional compilations: http://msdn.microsoft.com/en-us/library/aa691094(v=vs.71).aspx

Author

Commented:
Give me a few days to see if this works Eric Moreau.

Author

Commented:
Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial