[nant-dev] license task broken

2003-09-14 Thread Sascha Andres
Hi, I'm using the following statement in my buildscript: license input=license.licx licensetarget=start.exe / This is similar to the help file. But: I _always_ gt an exception about an invalid path. Before I had an fileset included with the assemblies to be licensed, but this is just the same

Re: [nant-dev] license task broken

2003-09-14 Thread Sascha Andres
Hi, It seems I found two bugs. One is in the licese task itself. It can happen (actually it does on one of my systems), thatasmLoaded.Location is either an empty string or null. If so, Path.GetFullPath(...) throws an exception. The attached diff files addesses this issue. The second thing seems

Re: [nant-dev] license task broken

2003-09-14 Thread Matthew Mastracci
Yet another bug is that the License task loads assemblies (as far as I can remember) into the main AppDomain. It needs to have code to load these assemblies in a separate AppDomain, like the NUnit tasks have. Matt. On Sun, 2003-09-14 at 11:46, Sascha Andres wrote: Hi, It seems I found two

Re: [nant-dev] license task broken

2003-09-14 Thread Sascha Andres
Hi, * Matthew Mastracci wrote on 14.09.2003 (12:45): Yet another bug is that the License task loads assemblies (as far as I can remember) into the main AppDomain. It needs to have code to load these assemblies in a separate AppDomain, like the NUnit tasks have. You're right. It does that way.