-
July 13th, 2007, 01:40 PM
#1
FullPath property
When I work with Windows Application in VS 2005 I do the following:
1. I need to make some changes and do not want to lose the original code - I copy entire folder of my solution let's say MySolution1, name it as MySolution2.
2. I double click on MySolution.sln file in the folder MySolution2.
3. I always have files located in MySolution2 folder associated with my new
copy of the solution
4. If I make any changes in the solution I have those changes in MySolution2 folder.
I tried to use the same approach with WEB project (File based). I see the
files from my old folder in a new solution. I can change the location of
files associated with a new copy only by opening sln file in Notepad and
making changes there.
Is there any way to change FullPath property of the file automatically when
I open a copy of the solution, saved in a new folder? Maybe there is some
option in VS environment?
Thank you
Vlad
-
July 13th, 2007, 04:51 PM
#2
Re: FullPath property
If you open the vbproj file, you can verify that all the paths are relative to the project folder. Also, if you use source code control you will have to change the path to the project in VSS too.
You may want to delete the .suo workspace file so its freshly created and relevant to your copied project.
Finally, the .sln file may need to be modified to relate to your newly copied / renamed folder.
You can iopen all these files in Wordpad for easier editing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|