Solved

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

Posted on 2014-03-03
4
421 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
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…

759 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

18 Experts available now in Live!

Get 1:1 Help Now