Tlbimp 生成c#互操作com组件dll

Tlbimp C:\Windows\System32\HelpPaneProxy.dll F:\MyWorkSpace\HelpPaneProxySharp.dll

Microsoft (R) .NET Framework Type Library to Assembly Converter 4.0.303
Copyright (C) Microsoft Corporation. All rights reserved.

Syntax: TlbImp TypeLibName [Options]
Options:
/out:FileName File name of assembly to be produced
/namespace:Namespace Namespace of the assembly to be produced
/asmversion:Version Version number of the assembly to be produ
/reference:FileName File name of assembly to use to resolve re
/tlbreference:FileName File name of typelib to use to resolve ref
/publickey:FileName File containing strong name public key
/keyfile:FileName File containing strong name key pair
/keycontainer:FileName Key container holding strong name key pair
/delaysign Force strong name delay signing
/product:Product The name of the product with which this as
is distributed
/productversion:Version The version of the product with which this
assembly is distributed
/company:Company The name of the company that produced this
assembly
/copyright:Copyright Describes all copyright notices, trademark
registered trademarks that apply to this a
/trademark:Trademark Describes all trademarks and registered tr
that apply to this assembly
/unsafe Produce interfaces without runtime securit
/noclassmembers Prevents TlbImp from adding members to cla
/nologo Prevents TlbImp from displaying logo
/silent Suppresses all output except for errors
/silence:WarningNumber Suppresses output for the given warning (C
be used with /silent)
/verbose Displays extra information
/primary Produce a primary interop assembly
/sysarray Import SAFEARRAY as System.Array
/machine:MachineType Create an assembly for the specified machi
/transform:TransformName Perform the specified transformation
/strictref Only use assemblies specified using /refer
registered PIAs
/strictref:nopia Only use assemblies specified using /refer
ignore PIAs
/VariantBoolFieldToBool Convert VARIANT_BOOL field in structures t
/Legacy35 Use legacy TlbImp 3.5 behavior.
/? or /help Display this usage message

The assembly version must be specified as: Major.Minor.Build.Revision.

Multiple reference assemblies can be specified by using the /reference
multiple times.

Supported machine types:
X86
X64
Itanium
ARM
Agnostic

Supported transforms:
SerializableValueClasses Mark all value classes as serializable
DispRet Apply the [out, retval] parameter transfor
to methods of disp only interfaces

A resource ID can optionally be appended to the TypeLibName when import
type library from a module containing multiple type libraries.
example: TlbImp MyModule.dll\1

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值