Using this tag,
<csc target="library" output="${BinDir}\MyFile.dll">
<resources>
<includes name="${CurDir}\*.resx"/>
</resources>
<sources>
<includes name="${CurDir}\*.cs" />
</sources>
</csc>
trying to load a form from MyFile.dll called frmSplash and located in
Splash.cs throws a "resource not found" exception at runtime. Is there a way
to make the resources task work when the name of the class doesn't match the
name of the file? (BTW, I know the hungarian naming convention is a Bad Thing
for class names, but this issue is also encountered in other situations. For
instance, a class may be renamed for one reason or another, but the contaning
file keeps the same name to please the source control system.)
Chris
-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users