tlbimp.exe を使用して、TLB ファイルからアセンブリを生成しています。「asmversion」コマンド ライン スイッチを使用してカスタム バージョン番号を設定できることはわかっていますが、他の情報を設定するにはどうすればよいですか? 「商品名」や「会社名」などの項目を設定したいのですが、方法がわかりません。tlbimp またはその他のツールで実行できますか?
1 に答える
1
少なくとも最新(ベータ)バージョンのVisual Studio 2010では、tlbimp.exeを使用してこの情報を挿入できます(これらが新しいオプションかどうかはわかりません)。
C:\Temp>tlbimp /?
Microsoft (R) .NET Framework Type Library to Assembly Converter 4.0.20624.1
Copyright (C) Microsoft Corporation. All rights reserved.
Syntax: TlbImp TypeLibName [Options]
Options:
...
/product:Product The name of the product with which this assembly
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, trademarks, and
registered trademarks that apply to this assembly
/trademark:Trademark Describes all trademarks and registered trademarks
that apply to this assembly
...
于 2009-09-03T14:44:35.363 に答える