Hello nant-developers,
I've found a bug in resource compiling (for dependent resources):
(according to nightly build from 28.11.03) in Resource.cs:104 there
is a regex which extracts namespace name and class name. The problem
is that it expects that the class is derived from something (it
extracts the class name till the ':' symbol), which is generally not
true.
So, the right regex should be something like
Regex re = new Regex(@"
(?>namespace(?<ns>(.|\s)*?){)
|
> (?>class(?<class>.*?)[:{])
|
}
", RegexOptions.IgnorePatternWhitespace | RegexOptions.Multiline |
RegexOptions.Compiled);
(the changed line is highlighted)
--
Best regards,
Ivan mailto:[EMAIL PROTECTED]
* Beware of the man who knows the answer before he understands the question.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers