(Msg. 1) Posted: Thu Apr 23, 2009 9:02 am
Post subject: VSS + VS2008 integration bug: folder duplication Archived from groups: microsoft>public>visual>sourcesafe (more info?)
Integration issues, ok, bugs, with VSS and Visual Studio
I discovered a bug with Visual Studio and VSS integration. The bug is this:
In a Web Site project, when I check out a page or source file, Visual Studio
creates a subfolder in the project directory with the same name as the
project directory, and copied all the files of the project to that
subfolder.
FYI, I'm running Visual Studio 2008, Version 9.0.21022.8, and VSS Explorer
version 8.0.50727.901. I have turned off Root Folder naming in the Registry
by setting this registry key to 1:
To illustrate this, here's the layout of the folder and files before the
checkout. Folders have a backslash with their name.
\WebSiteProject\Default.aspx
\WebSiteProject\Default.aspx.cs
\WebSiteProject\WebSiteProject.sln
\WebSiteProject\Masterpage.master
\WebSiteProject\Masterpage.master.cs
\WebSiteProject\App_Code\Source1.cs
\WebSiteProject\App_Code\Source2.cs
\WebSiteProject\Bin\
\WebSiteProject\Css\
\WebSiteProject\Images\
When the project is opened in the Visual Studio IDE, I check out
Default.aspx.cs. After the checkout, Visual Studio leaves my folder
structure like so:
Visual Studio has duplicated my project structure. To
\WebSiteProject\WebSiteProject. Thereafter, changes to source files occur
within the duplicated folder.
The problem seems to stem from the fact that I initially stored the solution
file in the web site root directory. The problem does not occur if I create
and manage my project structure like so, from the start:
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum