Hi all. Thanks for taking the time to read this, it's a little long, but I really hope you can help me.
I have a WinForm with an AxSpreadsheet control. To add it to my form, I just added the control to the tool box (Microsoft SpreadSheet 11), and dragged it. So far, so good. That control added two references to my project, Interop.OWC11 and AxInterop.OWC11, which were assemblies placed under the obj folder for my project. I developed everything without a problem, and it all worked fine. The problem came when I had to strong sign my assembly to deploy the application. I know that COM assemblies have to be strong signed as well, so I tried to sign OCW11 with the tlbimp and aximp utilities, without any success. Here's all I did:
First, I tried tosign OWC11.dll, which was found under C:\Program files\Common files\Microsoft shared\Web components\11. tlbimport succesfully worked, and generated my own signed DLL. Then according to what I've read, I tried to use aximp on that same assembly (OWC11.dll) to get the Ax strong signed assembly, but that's when I got my problem error: AxImp Error: Error writing the result file 'C:\StrongName\OWC11.dll'.
How can I get to successfully sign the assembly and get the Ax dll as well? I tried doing the same procedure to the Interop files generated automatically by Visual Studio 2008 in my obj folder, but in that case I can't even get to make the Interop.OWC11.dll file to work.
Any help will be greatly appreciated.
Thanks in advance.
:. HUGONNE .:
Please mark as answer if the post helps.
Coding thougts - http://hugonne.blogspot.com/