2009-09-03 7 views
1

tlbimp.exeを使用してTLBファイルからアセンブリを生成しています。私は、カスタムバージョン番号を設定するために "asmversion"コマンドラインスイッチを使用することができますが、私は他の情報をどのように設定するのですか? 「商品名」や「会社」などのフィールドを設定したいと思いますが、これを行う方法はありません。それはtlbimpやその他のツールで行うことができますか?カスタムアセンブリ情報を使用してTLBファイルをアセンブリに変換する

あなたは、少なくとものVisual Studio 2010の最新の(ベータ)版では、この情報を挿入するTlbimp.exeをを使用することができます

答えて

1

(これらは新しいオプションであれば、私は非常に伝えることはできません。)

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 
    ... 
+0

ものオプションは間違いなくVS2008バージョンではありません。 2010バージョンのtlbimpで生成されたアセンブリがVS2008アプリケーションで動作するかどうか知っていますか? –

+0

私には分かりません。私は* VS2008アプリでうまく動作するはずだと思っていますが、試していません。 – reuben

関連する問題