Is there a way so I can restart .NET on my machine? thanks!

D

davidw

I don't know much about the core of .NET, but I assume there is a way you
can restart .NET. I have a email sink dll, I compiled it under a machine
with .NET 1.1, it worked fine on my server. Now I want to put it on a
machine with both .NET 1.1 and .NET 2.0, I register it with regasm of .NET
1.1, it didn't work well, so I copied my project to the machine, and
recompile it under .NET 2.0. But it still doesn't work properly. The strange
thing is I can not delete the dll that compiled by .NET 2.0, it says the
file can not be deleted and it is locked. But I did unregister it, in
registry of the machine, I don't see the class neither. Another strange
thing is even I register the old dll(the one I compiled under .NET 1.1),
according the event log I can tell it is the new compiled dll is running. So
it seems there is some kind of mixing. It looks like the new compiled dll
sit somewhere, and that can explain why I can not delete it even I
unregisterred it.

So I am thinking maybe there is a way I can restard the Env. and unlock the
dll? how can I do that?

thanks!
 

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

Top