M
Michael Moreno
Hello,
I have been faced with an assembly versionning problem that I could not
solve in two days and would appreciate any help.
Here is what I have:
C# Exe "Exe" that uses Win32 COM DLL "SD_MarketData" and C# Assembly
"Asm"
C# COM DLL "CComdll" that uses "SD_MarketData" and "Asm".
"CComdll" must have a strong name to be registered which implies that
"Interop.SD_MarketData" and "Asm" must have a strong name.
But "Exe" does not have a strong name and when it references
"SD_MarketData" it does not create the "Interop.SD_MarketData" with a
strong name.
When I start "Exe" it fails saying:
The located assembly's manifest definition with name
'Interop.SD_MarketData' does not match the assembly reference.
The reasons is simple : 2 identical Interop.SD_MarketData are created
but with different versions and if the Exe starts then the COM will
fail to start and vice-versa.
Would you know how this versionning issue can be solved please?
Thanks.
I have been faced with an assembly versionning problem that I could not
solve in two days and would appreciate any help.
Here is what I have:
C# Exe "Exe" that uses Win32 COM DLL "SD_MarketData" and C# Assembly
"Asm"
C# COM DLL "CComdll" that uses "SD_MarketData" and "Asm".
"CComdll" must have a strong name to be registered which implies that
"Interop.SD_MarketData" and "Asm" must have a strong name.
But "Exe" does not have a strong name and when it references
"SD_MarketData" it does not create the "Interop.SD_MarketData" with a
strong name.
When I start "Exe" it fails saying:
The located assembly's manifest definition with name
'Interop.SD_MarketData' does not match the assembly reference.
The reasons is simple : 2 identical Interop.SD_MarketData are created
but with different versions and if the Exe starts then the COM will
fail to start and vice-versa.
Would you know how this versionning issue can be solved please?
Thanks.