This command is to remove the assembly from GAC. The question is how to
unload from the project..
Regards
Thread
Regards,
Satheesh
gc.collect()
-------
Regards ,
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/
My Interview Blog
http://spaces.msn.com/members/dotnetinterviews/
Can you please provide some references about your saying. Because even
i think it is for collecting objects that dont have any reference to
the application..
Regards
Manish
The method for unloading the application domain is..
public static void Unload(AppDomain domain)
Regards,
Satheesh
Imports System.Reflection
Class Class1
Public Shared Sub Main()
Dim SampleAssembly As [Assembly]
' You must supply a valid fully qualified assembly name here.
SampleAssembly = [Assembly].Load("Assembly text name, Version,
Culture, PublicKeyToken")
Dim Types As Type() = SampleAssembly.GetTypes()
Dim oType As Type
' Display all the types contained in the specified assembly.
For Each oType In Types
Console.WriteLine(oType.Name.ToString())
Next oType
End Sub 'LoadSample
End Class 'Class1
To unload there is one way create a new appdomain
Go thru this site.
http://www.dotnet247.com/247reference/msgs/56/284238.aspx
http://www.ms-inc.net/PluginInfo.aspx
There is no Assembly.Unload method
Regards
Thread