"Gary Townsend" <ga**********@hotmail.com> schrieb:
I am working on an auto update feature for my program and basically it gets
the assembly information for the main application and compares that
against
the database the problem is that when i try to rename the main files it
says
it can't becuase the file is still in use.
So once i have opened an assembly and its information how can i release it
so that i can perform other file operations on it.
You must not access the assembly directly in order to prevent it from being
locked. To do so, you may want to use a remote interface as demonstrated in
<URL:http://dotnet.mvps.org/dotnet/articles/sharedfinalizer/SharedFinalizer.zip>
Additional information:
Executing Dynamic Code in .NET
<URL:http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>