(1.5) Interop trouble with strong name???

(1.5) Interop trouble with strong name???

Old forum URL: forums.lhotka.net/forums/t/1198.aspx


Q Johnson posted on Tuesday, September 12, 2006

I get the following message when I try and introduce my key file name in the AssemblyInfo.vb file in one of my solution's projects and and re-build the solution:

vbc : error BC30145: Unable to emit assembly: Referenced assembly 'Interop.SQLDMO' does not have a strong name

I am using CSLA 1.x and .NET 1.1 and SQL Server 2000.  I might choose to try and achieve my SQL functionality with ADO, ADOX, or ADO.NET, of course.  But I have to use another COM Interop assembly in another project anyway (an OCX file with several dependent DLLs - all part of an API offered by the external party's software with which mine interacts).  So I'm not sure the re-coding effort would give me a way past this issue in any event.

Is there anything I can do to get around this?  Without it, I have some hurdles to jump at my client's site because we have to set up special code access security rules tied to Trust a mapped drive letter where they install my program.  I would much rather just have them Trust apps with my signature - if I could just give them one! <g>

 

Baldu replied on Tuesday, September 12, 2006

You'll need to create a strong-named interop assembly using tlbimp.exe

http://www.novicksoftware.com/TipsAndTricks/tip-vb-net-tlimp-strong-name.htm

Copyright (c) Marimer LLC