Best way to fork/copy a VB.NET solution using VS2010
Is there a straightforward way to make a copy of a VB.NET solution and continue the project in another direction?
I'd think this is a common problem but haven't been able to find an easy solution. Copying the files and renaming seems messy to me.
Does the VS IDE provide anything like this?
Update: It's a small proj开发者_开发问答ect on my home computer so I'm currently not using source control. I wasn't expecting to need to fork or anything. Is there a way I can do this without setting up git or similar?
IMHO this is an SCM (source control management) question, not an editor (VS IDE) question.
Why is copying and renaming messy? That's eventually what has to happen anyway. You don't mention which SCM you're using, but if it's SVN/Tortoise, if you rename the project file you'll get a dialog asking you if you want to rename other files similarly named. (e.g. the .filters files) That makes it go easier.
You might want to look at a source control package to accomplish this. git is an excellent option for this type of thing because of the ease of branching and merging--or more simply, saving a particular "state" of your solution and then continuing in another direction. There's also a nice Visual Studio integration option for git called Git Source Control Provider.
精彩评论