?
Solved

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

Posted on 2014-03-03
4
Medium Priority
?
453 Views
Last Modified: 2014-03-12
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?
0
Comment
Question by:NDennisV
  • 2
4 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 39902870
> 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.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 1500 total points
ID: 39902896
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
0
 

Author Comment

by:NDennisV
ID: 39906400
Give me a few days to see if this works Eric Moreau.
0
 

Author Closing Comment

by:NDennisV
ID: 39923591
Thank you
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question