[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Make the sln file compatible with VC2005 Express

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-12-21 16:46:05 CET

Hi,

the attached patch changes the template file for the generated solution
file (*.sln) so that it can be read by VC2005 Express.

The reason is that while VS.NET2005 *can* deal with paths enclosed in
double quotes (e.g. ""path/to/something""), VC2005 Express can't.

With this patch, the double quotes are removed and the paths are
enclosed in just a single quote. This makes it usable with VC2005
Express. VS.NET2005 still can use the sln file, no problem there (just
tested it on my local machine).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org

[[[
Remove the quotes around the target paths in the sln file. The
generator encloses the paths with quotes already, and VC2005 Express
can't deal with double quotes.
VS.NET2005 can deal with double and single quotes, so this change won't
break VS.NET2005 but makes it possible to compile Subversion with
VC2005 Express.

* build/generator/vcnet_sln.ezt:
  Remove quotes around target paths
]]]
Index: generator/vcnet_sln.ezt
===================================================================
--- generator/vcnet_sln.ezt (revision 17894)
+++ generator/vcnet_sln.ezt (working copy)
@@ -1,5 +1,5 @@
 Microsoft Visual Studio Solution File, Format Version [version]
-[for targets]Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "[targets.name]", "[targets.path]", "[targets.guid]"
+[for targets]Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "[targets.name]", [targets.path], "[targets.guid]"
 EndProject
 [end]Global
         GlobalSection(SolutionConfiguration) = preSolution

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 24 23:58:55 2005

This is an archived mail posted to the Subversion Dev mailing list.