1

When building a WIXLIB from Visual Studio using Votive, how do you specify to candle where to find additional WXS files that are not part of the Visual Studio project (and are also not part of a referenced project)?

I do not want to add the WXS files to the project because they are updated by heat.exe during the build process, and therefore need to remain editable (i.e., they cannot be added to source control with the rest of the project).

4

1 に答える 1

2

プロジェクトファイルをハックして生成されたファイルを追加するのではなく、熱生成ファイル用に別のwixlibを作成し、そのwixlibを最終的なインストーラーにリンクすることをお勧めします。実際、Wix MsBuildタスクを使用してヒートタスクを実行し、ヒートタスクの出力を取得してCandleTaskに直接渡すのは非常に簡単です。

于 2010-10-27T03:30:51.883 に答える