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})
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})