Οι Ομάδες Google δεν υποστηρίζουν πλέον νέες αναρτήσεις ή εγγραφές στο Usenet. Το ιστορικό περιεχόμενο παραμένει ορατό.

".svn" directories prevent web projects from synchronizing VSWebCache

431 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

Mark Griffiths

μη αναγνωσμένη,
1 Σεπ 2003, 1:20:55 μ.μ.1/9/03
ως
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

μη αναγνωσμένη,
2 Σεπ 2003, 3:16:52 π.μ.2/9/03
ως
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

μη αναγνωσμένη,
3 Σεπ 2003, 5:36:46 π.μ.3/9/03
ως
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

μη αναγνωσμένη,
8 Οκτ 2003, 3:51:36 μ.μ.8/10/03
ως
Does anybody at microsoft want to comment further on this
issue? IMHO this is definately a bug and it needs to be
addressed.
>.
>
0 νέα μηνύματα