How about this.
Index: Solution.cs
===================================================================
RCS file: /cvsroot/nant/nant/src/NAnt.VSNet/Solution.cs,v
retrieving revision 1.8
diff -u -r1.8 Solution.cs
--- Solution.cs 17 Aug 2003 08:46:53 -0000 1.8
+++ Solution.cs 23 Aug 2003 23:51:15 -0000
@@ -61,6 +61,12 @@
string guid = m.Groups["guid"].Value;
string fullPath;
+ // only supports vb and cs projects
+ if (!project.ToLower().EndsWith(".csproj") &&
!project.ToLower().EndsWith(".vbproj")) {
+ _solutionTask.Log(Level.Info, "Currently only supports
VB and CS projects. Skipping {0}.", project);
+ continue;
+ }
+
try {
// translate URLs to physical paths if using a webmap
WebMap map = _webMaps[project];
-----Original Message-----
From: Matthew Mastracci [mailto:[EMAIL PROTECTED]
Sent: Saturday, 23 August 2003 1:11 AM
To: Eddie Tse
Cc: [EMAIL PROTECTED]
Subject: Re: [nant-dev] <solution> task fixes
Eddie - ignoring non-csproj and non-vbproj files looks good. We
shouldn't do this without at least warning the user that we are ignoring
their projects, however. Can you add a log message to this test?
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers