Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

".svn" directories prevent web projects from synchronizing VSWebCache

427 views
Skip to first unread message

Mark Griffiths

unread,
Sep 1, 2003, 1:20:55 PM9/1/03
to
Hello

We use a source code control system that creates
administrative directories beginning with a period - for
example ".svn". Unfortunately this prevents VS.NET from
working with web projects.

Steps to reproduce:

1. Create a new ASP.NET web project e.g
http://localhost/WebApplication2
2. Using the command prompt, create a directory that
begins with a period. e.g.
C:\>cd \inetpub\wwwroot\WebApplication2
C:\Inetpub\wwwroot\WebApplication2>mkdir .foobar
3. In VS.NET, click the refresh button on the solution
explorer. You will get the error message "Unable to
retrieve folder information from the server".
4. If you close and re-open the project, then you will get
the error "Refreshing the project failed. Unable to
retrieve folder information from the server."

The error seems to happen when VS.NET is synchronizing the
VSWebCache folder. I have tried cleaning out the
VSWebCache but the problem persists. Does anyone have any
suggestions regarding how we can workaround this problem?

Thanks in advance
Mark

MSFT

unread,
Sep 2, 2003, 3:16:52 AM9/2/03
to
Hi Mark,

It can't recognize a sub folder whose name begins will ".". If you add the
folder "foobar", it will work. Additionally, in VS.NET, right click the web
project and choose add/New Folder, you also can't add a folder named
".foobar", it can't accpet it. A name like "foobar" will work.

Luke
Microsoft Online Partner Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mark Griffiths

unread,
Sep 3, 2003, 5:36:46 AM9/3/03
to
Thanks for the reply. Unfortunately we are not able to
control the name of the directory created.

I note that Windows Explorer also does not permit files
beginning with a period, yet the command shell does. Does
anyone know which side is correct?

Shawn

unread,
Oct 8, 2003, 3:51:36 PM10/8/03
to
Does anybody at microsoft want to comment further on this
issue? IMHO this is definately a bug and it needs to be
addressed.
>.
>
0 new messages