Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / June 2004

Tip: Looking for answers? Try searching our database.

Copy a whole Solution ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JezB - 17 Jun 2004 10:13 GMT
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.
Sahil Malik - 17 Jun 2004 14:33 GMT
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/

> Is there any way to copy a whole solution ?
>
[quoted text clipped - 12 lines]
> 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.
JezB - 17 Jun 2004 14:48 GMT
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.

> 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
[quoted text clipped - 24 lines]
> > 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.
Alex J (IS) - 19 Jun 2004 10:53 GMT
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.



> 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
[quoted text clipped - 35 lines]
> > > 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.
Bob Powell [MVP] - 20 Jun 2004 21:55 GMT
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.

Signature

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

> 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.
>
[quoted text clipped - 37 lines]
> > > > 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.
Eric Cadwell - 17 Jun 2004 15:48 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.