I took a look inside WhidbeySolution to see where the change would
happen.  What is the preferred way of doing this?  

1) Modify the regular expression so that it does not include the project
whose name is "Solution Items"
Pros: The change will be in one string in the regex
Cons: The more stuff you want to ignore, the uglier the regex gets

or

2) Take MatchCollection and filter out unwanted projects in C#.
Pros: You can create an extensible "filter" so if this happens again in
future versions of the solution files, you can just read the filters
from some ignore list (no code changes).
Cons: Not a one-line change in the regex

What do you think?

<adrian />


-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 06, 2007 2:05 PM
To: Adrian Rodriguez; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] solution task with VS2005
solutions/SolutionItemsproblem

 
Sure, if it's not a quick hack :p

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Rodriguez
Sent: woensdag 6 juni 2007 22:31
To: Gert Driesen; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] solution task with VS2005
solutions/SolutionItemsproblem

Here's the bug id:  1732361

If you don't have time right now, do you think I can make a fix and
submit
it for review?

<adrian />


-----Original Message-----
From: Gert Driesen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 06, 2007 1:10 PM
To: Adrian Rodriguez; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] solution task with VS2005 solutions/Solution
Itemsproblem

Adrian,

I've looking into this, but it'll take a while before I commit a fix for
this issue since I'm working on a fix for a larger issue.

Can you please submit a bug report for that issue (if you have not done
this
already), so I don't lose track of this ?

Thanks !

Gert

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adrian
Rodriguez
Sent: dinsdag 5 juni 2007 1:49
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] solution task with VS2005 solutions/Solution
Itemsproblem

I've posted this to the list before, but I never received a reply.  

If you add a "Solution Item" to a Visual Studio 2005 solution, you get a
failure saying, "Error checking whether c:\foo\Solution Items is an
enterprise template project.  Could not find file c:\foo\Solution Items"

I had a workaround (patched the source), but I recently moved companies
and
I left the patch at the other company.  I was wondering if there was a
fix
planned for this?  I've tested this against the latest nightly build.

If a fix is not planned, I would be happy to recreate the patch, but I'm
not
sure how to go about submitting it.

Thanks.

<adrian />



------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C -
the
FREE version of DB2 express and take control of your XML. No limits.
Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C -
the
FREE version of DB2 express and take control of your XML. No limits.
Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to