Zum PortalStatistikMeine LinksMein PhotostreamMein Xing ProfilMein FaceBookMeine Galerie
 
AboutEquipmentWeblogSit Back & Joy » Visual Studio 2003, Subversion and Web-Projects
Weblog
 

Visual Studio 2003, Subversion and Web-Projects

Today I ran into an error using VS2003 ASP.NET Projects and SVN for version control. The error I got when I opened a SVN-controlled web-project was “Refreshing the project failed. Unable to retrieve folder information from the server.” This error occurs, because Visual Studio 2003 cannot handle folder names starting with a period (“.”). So the most pragmatic way to get is working is to write two batch files to rename all “.svn” folders before opening the project and rename them back when synchronizing with the SVN-repository:

hide-svn.cmd
@ECHO OFF
FOR /R %%f IN (.svn) DO IF EXIST "%%f" (
ATTRIB -h "%%f"
RENAME "%%f" _svn
)

restore-svn.cmd
@ECHO OFF
FOR /R %%f IN (_svn) DO IF EXIST "%%f" (
RENAME "%%f" .svn
ATTRIB +h "%%~pf\.svn"
)

Note: this is one solution taken from tigris.org.

Before using the two batch files it may be necessary to clean the VSWebCache folder. This folder contains the structure of web projects so Visual Studio can load the projects faster. It is located in the users directory (e.g. C:\Documents and Settings\Username\VSWebCache).

3 Kommentare:

Tanks a lot this helped me

Kommentar von Shrage Smilowitz — May 3, 2007 17:22

I do not know, which SVN client you use but if you use TortoiseSVN, you can tell the client to always use _svn instead of .svn in folder names. Then it just works with VS.NET (either 2003 or 2005). Without any manual renaming.

Markus

Kommentar von Markus — June 6, 2007 11:58

Thanks for the info, fixed my problem right up it did!

Kommentar von billie — July 6, 2007 22:56

Kommentare dieses Beitrags als Feed abonnieren
TrackBack-Adresse für diesen Beitrag

Kommentar hinterlassen

 

Suche im Blog

Letzte Kommentare

Achim (Strobist-Studio: Blitzsystem)
Hi. Also bei einem Cactus-System ist das ja egal. Da hast Du den Funksender auf der Kamera und für jeden Blitz einen Empfänger. Da kannst Du dann auch Typen mischen, weil die Blitze ja nicht mit ...
Claudia (Strobist-Studio: Blitzsystem)
Wie sieht das denn aus, wenn ich einen Nikon SB-900 hab. Kann ich den als Master für so alte Blitze wie SB-20 verwenden? Lg, Claudia
Rene (Mein Low-Budget Strobist Studio)
Also ich denke die Größe kommt immer auf den Einsatzzweck an. Ich selber habe noch ein kleineres Studio eingerichtet, da ich allerdings hauptsächlich Produkt- und Portraitaufbahmen mache, ist di...
Achim (Strobist-Studio: Blitzsystem)
Hallo Torsten, genau so ist es. Entscheidender Unterschied: die Blitze sind komplett manuell zu steuern (also i.d.R. Reflektoreinstellung und Blitzleistung). Über die Funkauslöser wird nur das A...
Torsten (Strobist-Studio: Blitzsystem)
Hallo, sehe ich das jetzt richtig, das der Funkauslöser Cactus Wireless Trigger V2s an stelle eines Blitzes auf die Kamera gesteckt wird und somit jede Kamera mit Blitzaufsatz nun mehrer Blitze tr...

Archiv

Jahr 2011 (4)
Jahr 2010 (13)
Jahr 2009 (29)
Jahr 2008 (70)
Jahr 2007 (42)
 
 
 
© 1999-2010 by speedesign.de - Alle Rechte vorbehalten
powered by Wordpress und dem SitBackAndJoy-Theme v1.5
Theme Icons (Diagona Iconset) by pinvoke.com

Entwickelt mit Eclipse auf einem Mac
Danke an Nicole für die ehrliche und schonungslose Kritik.