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
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.)
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?