Hi,
after a while looking where the error was, I reworked my
changes, did a few comments and a diff file for patching.
You may want to take a look at it - I did not created a new
AppDomain, but it is functionally on my system now. If this
is correct, it could be submitted to CVS.
-sa
--
sa at programmers-world dot com
http://www.livingit.de
Bookmarks online: http://www.mobile-bookmarks.info
Soon available in english
If God had meant for us to be in the Army, we would have been born with
green, baggy skin.
151c151,157
<
alAssemblyFilesLoaded.Add(Path.GetFullPath(asmLoaded.Location).ToLower(CultureInfo.InvariantCulture));
---
> /* It can happen that an empty or null string is in the
> * collection. If so, Getpath fails.
> * Just ignore them (what else could we do
> */
> if (asmLoaded.Location.TrimEnd().TrimStart() != "" &&
> asmLoaded.Location != null) {
>
> alAssemblyFilesLoaded.Add(Path.GetFullPath(asmLoaded.Location).ToLower(CultureInfo.InvariantCulture));
> }
168c174
< Log(Level.Verbose, LogPrefix + " - " + strAssembly + "
(loaded with real filename)");
---
> Log(Level.Verbose, LogPrefix + strAssembly + " (loaded
> with real filename)");
171c177
< Log(Level.Verbose, LogPrefix + " - " + strAssembly + "
(not loaded)");
---
> Log(Level.Verbose, LogPrefix + strAssembly + " (not
> loaded)");
179c185
<
---
>
184c190
< Log(Level.Verbose, "");
---
>
197c203
<
---
>
237c243
< Log(Level.Info, ((Type)
htLicenses[strLine]).Assembly.CodeBase);
---
> Log(Level.Info, LogPrefix + ((Type)
> htLicenses[strLine]).Assembly.CodeBase);
254c260
<
---
>
256a263
> Log(Level.Verbose, LogPrefix + "Deleting existing " +
> strResourceFilename);
260c267
<
---
>
266a274,277
> Log(Level.Verbose, LogPrefix + "Created " + strResourceFilename);
> dlc = null;
>
> return;