I am currently developing a COM object to be used in an ASP website using a Visual C++ 2005 ATL project. My problem is that every time I build the DLL, visual studio registers the DLL on my local system. This works fine the first time, but the second time I rebuild the DLL it gives me an error because it cannot overwrite the DLL since it is registered on the system. Is there anyway to tell Visual Studio to unregistered/uninstall the DLL, build the new DLL, and register it?
Without a method like this, developing/testing my COM objects will take so much since I have to constantly manually get rid of the old DLL before I can build a new one.