G
Guest
We have a VB dll that invokes a C# dll. The C# dll references 3 other dlls -
one is a .NET dll, the other two are win32 COM dlls. I have a script that
invokes the VB dll which in turn successfully invokes the C# dll on my
development machine.
Next, I tried deploying to a stage server, but couldn't get the same test to
work there. It seems the C# dll is not being invoked. I moved the C# dll
and it's referenced .net and Interop dlls. I registered all 4 dlls using:
regasm mymain.dll
regasm mydotnet.dll
regasm Interop.First.dll
regasm Interop.Second.dll
I tried signing all the dlls:
sn -k myMain.dll (repeat for others)
Then tried gacutil for each dll, but get an error saying they cannot be
added to the GAC because they are not strongly named, even after using sn.exe.
I'm new to .NET - can anyone recommend the proper steps. I must be missing
something between the environments (I am thinking Visual Studio does some
registration for me that isn't happening on the stage machine?).
Thanks,
Jan
one is a .NET dll, the other two are win32 COM dlls. I have a script that
invokes the VB dll which in turn successfully invokes the C# dll on my
development machine.
Next, I tried deploying to a stage server, but couldn't get the same test to
work there. It seems the C# dll is not being invoked. I moved the C# dll
and it's referenced .net and Interop dlls. I registered all 4 dlls using:
regasm mymain.dll
regasm mydotnet.dll
regasm Interop.First.dll
regasm Interop.Second.dll
I tried signing all the dlls:
sn -k myMain.dll (repeat for others)
Then tried gacutil for each dll, but get an error saying they cannot be
added to the GAC because they are not strongly named, even after using sn.exe.
I'm new to .NET - can anyone recommend the proper steps. I must be missing
something between the environments (I am thinking Visual Studio does some
registration for me that isn't happening on the stage machine?).
Thanks,
Jan