Upgrade path for COM Interop applications
Posted: Thu Sep 01, 2011 8:06 pm
Hi,
Once you install the .NET assemblies (ex: 8.0) and use the COM interop interface for that version, will the same COM interop interface work with the newer .NET assemblies (ex: 8.2) or is each COM interop DLL locked to a specific version of the .NET assembly? I am trying to figure out how to update the Library without having to recompile all my applications. The ActiveX interfaces was backwards compatible so there was no issue updating the OCX control, how do we do it with .NET using COM Interop in my MFC/C++ applications?
I currently install the .NET and COM Interop files under "..\Common Files\Our Company\" and register the .NET files with the GAC and register the COM Interop DLL from there. All the other dlls from the package is put into System32 directory.
Could you explain the best way to update the assemblies with existing applications.
Once you install the .NET assemblies (ex: 8.0) and use the COM interop interface for that version, will the same COM interop interface work with the newer .NET assemblies (ex: 8.2) or is each COM interop DLL locked to a specific version of the .NET assembly? I am trying to figure out how to update the Library without having to recompile all my applications. The ActiveX interfaces was backwards compatible so there was no issue updating the OCX control, how do we do it with .NET using COM Interop in my MFC/C++ applications?
I currently install the .NET and COM Interop files under "..\Common Files\Our Company\" and register the .NET files with the GAC and register the COM Interop DLL from there. All the other dlls from the package is put into System32 directory.
Could you explain the best way to update the assemblies with existing applications.