?
Solved

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

Posted on 2014-03-03
4
Medium Priority
?
446 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

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 article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…

762 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