Recompiling a dll

G

Guest

I made a vb.net dll with some classes that I use in my ASP.net page

I use this Dll without problems, but when I want to do some modification
over my dll
(Is still under development) I can't regenerated, I get a error message that
point to the visual can't overrides de current dll because some process is
still using it, to correct this problem I have to kill de aspnet_wp.exe
process.
There is other way??

I call my dll using reflection, because I need to load dll dinamicly,

asm = System.Reflection.Assembly.LoadFrom(filename)
Dim ty As Type = asm.GetType(clase)
Try
obj = Activator.CreateInstance(ty)
Catch ex As Exception
End Try
Dim ListMethodInfo As MethodInfo() = obj.GetType.GetMethods()
If BuscaMetodo(ListMethodInfo, "BeforeExecute" + Opcion) Then
Try
ty.GetMethod("BeforeExecute" + Opcion).Invoke(obj, New
[Object]() {Opcion, RolF, Mensaje})
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,781
Messages
2,569,619
Members
45,310
Latest member
FaustoMont

Latest Threads

Top