vinylsearcher.com
Member
I have a project (startup) that references a dll (test.dll)
Basically when the project starts it opens the startup form and creates a instance of the dll so :
Dim Test as new testdll and so on.....
then it opens a form in test.dll (so 2 forms so far.....)
The problem I am having is that I want to be able to rollout new versions of test.dll while the startup is running, so on the startup form we put a button that closes the second form and clears the object reference (bit like asp.net):
test=nothing
and it will then let us rename test.dll and drop another in....
then when we try too create a new instance of test and open it, it SIMPLE USES THE OLD ONE! but if u close the whole app then open it again it gets the new version . I have looked at the GC but still no joy - any ideas?
Basically when the project starts it opens the startup form and creates a instance of the dll so :
Dim Test as new testdll and so on.....
then it opens a form in test.dll (so 2 forms so far.....)
The problem I am having is that I want to be able to rollout new versions of test.dll while the startup is running, so on the startup form we put a button that closes the second form and clears the object reference (bit like asp.net):
test=nothing
and it will then let us rename test.dll and drop another in....
then when we try too create a new instance of test and open it, it SIMPLE USES THE OLD ONE! but if u close the whole app then open it again it gets the new version . I have looked at the GC but still no joy - any ideas?