My .Net program in C# is referencing a proprietary DLL, which my program uses to access their API. Everything works great.. however, when I uninstall my program (add/remove programs), the original program (not mine) will no longer run because it appears that the DLL file has been dereferenced or unregistered by Windows/.Net.
I've gone as far as copying the DLL file into a new directory, and referencing my C# solution to this new location, but the same thing happens. I'm certain it has something to do with the Identity of the DLL in the GAC or registry.
I'm using Visual Studio 2008, and as I mentioned, my solution is in C#. Can someone help me configure my solution so that a reference to a DLL will create a new localized copy/registration, so that when my program is uninstalled it will not interfere with the original vendor's DLL?
I am a veteran coder, but a Windows .Net newbie.