Thanks.
I looked up TLBIMP and am trying to get the syntax correct. This is what I
typed in at the command prompt:
tlbimp C:\Dev\Excel\Excel\bin\Release\Interop.Excel.dll
/keyfile:"\\nldev\DotNet Deployment\Prod\SoftDev.snk"
I get the following error:
TlbImp error: The input file
'C:\Dev\Excel\Excel\bin\Release\Interop.Excel.dll' is not a valid type library
Is it syntax?
--
Robert Hill
"Nicholas Paldino [.NET/C# MVP]" wrote:
Robert,
What you will have to do is create the interop dll through the command
line tool TLBIMP. It will allow you to specify a strong name which you can
use to sign the interop assembly.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Robert" <rh******@hotmail.com> wrote in message
news:AC**********************************@microsof t.com...I have created a .dll in C# which has a reference to Excel. When I add a
strong name to the .dll in the AssemblyInfo.cs and try to rebuild, I get
the
following error:
Assembly generation failed -- Referenced assembly 'Interop.Excel' does not
have a strong name
How can this be resolved?
--
Robert Hill