- #VALENTINA STUDIO COPY A FORM INTO A NEW PROJECT UPDATE#
- #VALENTINA STUDIO COPY A FORM INTO A NEW PROJECT FULL#
- #VALENTINA STUDIO COPY A FORM INTO A NEW PROJECT WINDOWS#
A large part of how this product works is through the use of plugins. It is an exciting and modern solution that is rapidly approaching an alpha release. So, VStudio did the monotonous work for us.Īnyway, it is unfortunate that there is no super-simple way to duplicate and "fork" solutions like this.but the above was the simplest I could come up with.By Richard Kerslake Engineer I 28th July 2014Īt the moment, endjin are working hard on a new Azure based content management system.
#VALENTINA STUDIO COPY A FORM INTO A NEW PROJECT FULL#
For example, Resources.resx Full Path is now ".\gold\gold\Properties\Resources.resx". Now when you open gold.sln (with VStudio), the "Full Path" properties for the items are all updated properly to "./gold/gold/.".
#VALENTINA STUDIO COPY A FORM INTO A NEW PROJECT WINDOWS#
In Windows Explorer, now rename the "gold/silver" folder to "gold/gold". (it still has the old reference to "silver").now change the above to something like: For this example, it would look something like this: For example, inside gold.sln, you should see a "Project" section.change the paths in this section. Now, just change the folder names inside gold.sln to match your new copied solution.
#VALENTINA STUDIO COPY A FORM INTO A NEW PROJECT UPDATE#
What a pain it would be to update the "Full Path" property for each and every item! Now, here's my trick to make things a little easier.Ĭlose VStudio (you should have saved "gold.sln" from Step (3) above, so VStudio should just close with no prompts. This is because we just copied-and-pasted without VStudio knowing about it, back in Step (1). it still has the old "silver" in the path name. At this point, you will notice that, if you click on /Properties/Resources.resx in the Solution Explorer, the "Full Path" property will show ".\gold\silver\Properties\Resources.resx". For easier discussion, let's talk about "Resources.resx". Under each project, you will typically have items like "Properties", "References", "Forms", etc. Do this for all of your projects inside the solution. Inside Visual Studio.in the Solution Explorer, right-click the Project Properties and choose "Rename". Save the solution (it will be saved as "gold.sln"). Inside Visual Studio.in the Solution Explorer, right-click the Solution Properties and choose "Rename". Inside the "gold" folder, open the silver.sln. Windows Explorer: copy and paste "silver".you will get "Copy of silver". Here's how I went about duplicating a C# solution.to make it easier, let's call solution #1 "silver" and solution #2 "gold": In this case, my "TCP Chat" solution then remains stable, useful all by itself, and it can be used as a starting point for any other apps I want to create which utilize TCP. Once that solution reached a stable stage, I wanted to "fork" it off and use it as a starting point for my ultimate solution which would connect to my embedded device. But first I needed to make sure my basic TCP stuff was working. This is useful when you want the duplicate solution to become a totally separate entity.when you want to use the original solution as a "template" or starting point for a new solution.įor example, I wanted to develop a TCP app that communicates with an embedded machine. I have found the following method to work very well for duplicating a solution.and it's about the simplest approach when compared to other approaches I have seen.