regsvr32 - Do I need to register the COM dll to be able to reference it on the .NET project? -
I am trying to refer to a COM DLL in Visual Studio by using the Browse tab and selecting DLL. I have seen that if DLL is registered on the system, I can refer to it with regsvr32, but if it is not registered then I get an error in selecting the DLL file "A reference to the file" .DLL 'added Could not go. Please make sure the file is accessible, and it is a valid assembly or COM component. "
We do not want to register DLL, so we need less configuration in other development machines and development environments.
Is it too much to ask? Thanks!
You have to register DLL. You can set up registration in your setup project or create a batch file for all these types of processes. Note: Unregistering DLL to uninstall Areas not forget.
Comments
Post a Comment