Solved

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

Posted on 2014-03-03
4
433 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:Bing CISM / CISSP
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 69

Accepted Solution

by:
Éric Moreau earned 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DataGridView Events ? 3 38
Need a complete list of ASP.NET page load events 3 29
Tool Box 2 35
How to join on ID, with prefix? 15 17
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:…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now