G
Guest
I am programming online shop in .NET using Commerce Server 2000 type library.
I'm need to convert the DLLs to .NET assembly and I use tlbimp.exe for that,
but I get error when I try to convert shipmgr.dll.
First I enter the Bin folder:
cd "C:\Program Files\Microsoft.NET\SDK\v1.1\Bin"
Make a keypair:
sn -k commerce.snk
And then:
tlbimp /out:export\CS_Catalog.dll Catalog.dll /keyfile:commerce.snk /primary
tlbimp /out:export\CS_requisition.dll requisition.dll /keyfile:commerce.snk
tlbimp /out:export\CS_pipeline.dll pipeline.dll /keyfile:commerce.snk /primary
tlbimp /out:export\CS_mscscache.dll mscscache.dll /keyfile:commerce.snk
/primary
tlbimp /out:export\CS_AppHelper.dll AppHelper.dll /keyfile:commerce.snk
/primary
tlbimp /out:export\CS_shipmgr.dll shipmgr.dll /keyfile:commerce.snk
I can make all those assemblys except shipmgr.dll. When I execute the last
line: tlbimp /out:export\CS_shipmgr.dll shipmgr.dll /keyfile:commerce.snk,
this error pops up:
C:\Program Files\Microsoft.NET\SDK\v1.1\Bin>tlbimp
/out:export\CS_shipmgr.dll shipmgr.dll /keyfile:commerce.snk
Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
TlbImp error: System.Runtime.InteropServices.COMException - Error loading
type library/DLL.
I'm need to convert the DLLs to .NET assembly and I use tlbimp.exe for that,
but I get error when I try to convert shipmgr.dll.
First I enter the Bin folder:
cd "C:\Program Files\Microsoft.NET\SDK\v1.1\Bin"
Make a keypair:
sn -k commerce.snk
And then:
tlbimp /out:export\CS_Catalog.dll Catalog.dll /keyfile:commerce.snk /primary
tlbimp /out:export\CS_requisition.dll requisition.dll /keyfile:commerce.snk
tlbimp /out:export\CS_pipeline.dll pipeline.dll /keyfile:commerce.snk /primary
tlbimp /out:export\CS_mscscache.dll mscscache.dll /keyfile:commerce.snk
/primary
tlbimp /out:export\CS_AppHelper.dll AppHelper.dll /keyfile:commerce.snk
/primary
tlbimp /out:export\CS_shipmgr.dll shipmgr.dll /keyfile:commerce.snk
I can make all those assemblys except shipmgr.dll. When I execute the last
line: tlbimp /out:export\CS_shipmgr.dll shipmgr.dll /keyfile:commerce.snk,
this error pops up:
C:\Program Files\Microsoft.NET\SDK\v1.1\Bin>tlbimp
/out:export\CS_shipmgr.dll shipmgr.dll /keyfile:commerce.snk
Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
TlbImp error: System.Runtime.InteropServices.COMException - Error loading
type library/DLL.