Thanks Ben. I've comitted both of your patches. Ian
Ben Lowery wrote: >greetings, > >i think i found a bug in CompilerBase::GetFormNamespace(). the bug occurs >when you use a resx file that has no corresponding .cs file (ie, if i had a >Transform.resx in my project, but no Transform.cs). GetFormNamespace() >tries to open the corresponding source file using File.OpenText(), but in >the given case the call fails resulting in a FileNotFoundException being >thrown. This kills the build. > >attached is a modification to the function that wraps the call in a try / >catch / finally and returns "" if no corresponding file can be found. this >fits with the existing behavior, from what i can tell. > >thanks, > >--b > > > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
