|
|
|
date: Mon, 26 Feb 2007 06:55:16 -0800,
group: microsoft.public.vsnet.vss
back
RE: vs directory with vss
Hi Chuck,
Thanks for your reply.
If VSS puts the files in the correct location when you get the latest
version, that means, this is not an issue related to VSS. According to your
description, after you open the .sln file, VS05 retrieves another copy of
Documentation and places it under the Code directory. I think this is
dependent on how you created the solution.
Did you add the Documentation (empty website) into the Solution?
I assume you created the Solution as below in Visual Studio 2005.
SolutionName (.sln file)
...WebSite
...WindowsFormsApp
...Documentation (empty website)
For this reason, the Documentation project is a project in the Solution and
the location is Code \Documentation. If you move the Documentation
directory to another directory, VS2005 cannot locate this project. For this
reason, VS 2005 will create a new Documentation directory under Code
directory.
Please open your .sln file with "NotePad", there must be an entry as below.
Project("FAE04EC0-301F-11D3-BF4B-00C04F79EFBC ") = "Documentation ", "
Documentation\ Documentation.csproj",
"{E1B0BBEC-581D-4965-8708-BD1F34E419B1}"
EndProject
This is VS 2005 behavior. If you don't want Documentation to be retrieved
by Visual Studio 2005, please remove this project from the Solution.
By the way, would you please paste your .sln file in the newsgroup if I
assume something wrong. We will do further analyze on this. Many thanks.
Have a great day!
Sincerely,
Wen Yuan
date: Wed, 28 Feb 2007 06:23:37 GMT
author: (WenYuan Wang)
Re: vs directory with vss (1/1)
Hi Chuck,
Thank very much for your patience, I have consulted with Kevin(who is
another engineer in our team). According to his description, he has met
such issue half year ago and noticed this is a Visual Studio feature.
Visual Studio will always created the project under solution folder (which
include .sln file). If you wish to maintain the original structure, it
might be a little complicated. We should have to remove the project which
created by Visual Studio and add it again from the outside Documentation
folder.
http://groups.google.com/group/microsoft.public.vsnet.vss/browse_frm/thread/
24d1bd9a6dd58fce/cba0e7357dd8e00d?lnk=st&q=SolutionName&rnum=2&hl=zh-CN#cba0
e7357dd8e00d
[VS05 and VSS Doesn't respect Working Directory ].
For the other issues, do you mean you can't modify the file path for your
Documentation project, and cannot add Empty Web Site, either?
>If you try to remove the Documentation project and add existing website
and point to J:\DotNet2005\Survey Solution\Documentation. VS won't let you
and you get an error: The project file J:\Dotnet2005\Survey
Solution\Code\Documentation has been moved, renamed or is not on your
computer. Interesting because you never pointed to the Code directory.
Have you saved all files in solution, checked in the whole solution and
checked out again? It seem like visual studio read the old version of .sln
file.
>If you go "add new website" and pick "Empty Web Site". You can add
>the project back.However, if you save/close/open the solution. You get
the error:
>Unable to open the Web J:\Dotnet2005\Survey Solution\Code\Documentation.
The Web >J:\Dotnet2005\Survey Solution\Code\Documentation does not exist.
Interesting that it thinks a project is there.
Similar to the former issue, I'm afraid you open the wrong .sln file.
Would you please provide some detailed steps how you modify/add the
website? I have tried on my machine as following steps, but without error
messages. Many thanks.
1. Open the solution file.
2. Change the file path of Document Website.
3. Click save all files button and check in solution.
4. Get last version from VSS Explorer and open .sln file again.
Please don't hesitate to let me know if I have misunderstood anything here.
We are glad to assist you.
Have a great day,
Sincerely,
Wen Yuan
date: Mon, 05 Mar 2007 10:33:53 GMT
author: (WenYuan Wang)
|
|