Determine DLL/EXE Version number
-
Hello there, I'm having problems reading a DLL Version number. I used the System.Reflection in order to load the assembly, and then read the version number. No problem, it works fine! But since we cannot unload, the dll is locked untile my app shuts down. My app is a WebService, so won't shut down every second ;-) Is there another way to get the version number of a dll/exe, or to unload an assembly so that it's overwritable again? Thnx
I love it when a plan comes together
-
Hello there, I'm having problems reading a DLL Version number. I used the System.Reflection in order to load the assembly, and then read the version number. No problem, it works fine! But since we cannot unload, the dll is locked untile my app shuts down. My app is a WebService, so won't shut down every second ;-) Is there another way to get the version number of a dll/exe, or to unload an assembly so that it's overwritable again? Thnx
I love it when a plan comes together
You can check into creating a new AppDomain and loading your .DLL into that. I don't have any example code, because frankly, I've never done it. But, I have seen it discussed in the c# Forum about 6 months ago. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome