Copy a whole Solution ?

  • Thread starter Thread starter JezB
  • Start date Start date
J

JezB

Is there any way to copy a whole solution ?

I want to copy everything so that in the new solution all the internal
references are redirected too so the new solution is still self-contained.
And this should not affect the original solution - it should still work on
it's own.

Currently I'm taking backup copies of all my project directories so that I
can get back to a previous save state if I need to, but this way I can only
have ONE version of my solution active and working at any one time. To go
back to a previous version I have to scrap (or rename) the current project
directories and restore the old ones (to their original name).

I'd prefer to maintain several versions of the same solution, all working,
and branch at any time. Any way to do this ? I don't want to have to
integrate with any version control tool - I just want something simple.
 
I don't quite understand I think .. but if you want to keep a simple backup,
you can pretty much copy the entire directory - with the solution and
projects and place it somewhere else on your PC and it should work.

Is that what you are trying to acheive?

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/
 
No, that is what I'm doing. Problem is : internal references are absolute,
not relative - so when you do a simple directory copy the copy will not
work on its own - it points to things at their original localtion.
 
To be honest, VSS is as simple as it gets. You can branch, label, rollback,
view differences, history, etc.
We've had no issues with VSS.

Otherwise, have you set your references to CopyLocal = true? That copies the
dll to your bin/debug bin/release directory. That should allow you to
copy/paste the solution directory to another location.


HTH;
Eric Cadwell
http://www.origincontrols.com
 
Your question is exactly what I tried to ask but didn't verbalize correctly.

I, too, am new to this and need some way to "copy" solutions and ship them off to others. I was calling it Backup/Restore.

Now I wonder what one does if you want to move your projects/solutions to a new machine? Seems like there should be a "clean & painless" way to do this. I can't believe this isn't possible.

I hope someone can answer this or point me(us) in a direction to find the answer.
 
The only reliable way I've found for transporting individual projects from
place to place is to not include the solution or the user files. Only zip up
the source files and the project file. This means that the solution often
has to be reconstructed at the other end and with big solutions this can be
a pain.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Image transition effects, snap-to-grid and Layered Windows are
all discussed in May's edition of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml






Alex J (IS) said:
Your question is exactly what I tried to ask but didn't verbalize correctly.

I, too, am new to this and need some way to "copy" solutions and ship them
off to others. I was calling it Backup/Restore.
Now I wonder what one does if you want to move your projects/solutions to
a new machine? Seems like there should be a "clean & painless" way to do
this. I can't believe this isn't possible.
 
Back
Top