visual studio question: what is the best way to go about simply duplicating a project? manually duplicating the solution folder does not work because all the references point to the original solution folder, not the duplicated files.
-
Show this thread
-
i'm seeing guides for creating a template but i do not want any dependencies, just a separate, editable codebase. i just want a completely parallel version.
1 reply 0 retweets 2 likesShow this thread -
currently the best solution i have found is: quit visual studio copy + paste solution folder in windows open new solution manually edit all paths to source in the solution explorer to point to the new copies, not the old folder
4 replies 0 retweets 5 likesShow this thread -
Replying to @lorenschmidt
they're absolute paths not relative? That's real weird.
1 reply 0 retweets 0 likes -
Replying to @acegiak
yeah i am totally confused! i added all the source files via the solution explorer's project->add command, which apparently sets them all up with absolute paths like this. manually duplicating a solution set up like this of course leads to crossed references...pic.twitter.com/MIBiV52xN3
1 reply 0 retweets 0 likes -
Replying to @lorenschmidt @acegiak
if i this were editable in this properties panel i would be fine, or if i could figure out where the actual data is stored and manually edit it in an external text editor... unfortunately neither has panned out yet.
1 reply 0 retweets 0 likes -
Replying to @lorenschmidt @acegiak
It's been awhile but I think I find and replace in the vcprojx files with the new paths, they are just xml.
1 reply 0 retweets 1 like -
Replying to @AxiomVerge @acegiak
thank you- i will poke around in those if i don't find another solution! it's odd that a find in files didn't return any results in those files. perhaps my search strings were wrong.
1 reply 0 retweets 0 likes
Sometimes they are in a .vcxitems file...
-
-
Replying to @AxiomVerge @acegiak
oh super weird, it was apparently a bug in visual studio, which they fixed this month. updating fixed it for me. still displays the same path in project properties, but a manual copy / paste now works as you'd imagine. https://developercommunity.visualstudio.com/content/problem/591606/wrong-file-path-when-loading-a-solution-1.html …
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.