我有一个普通的.net类库,其中包含一些ComVisible类型,程序集本身被标记为"Register for COM Interop“。我正在尝试为应用程序构建一个WIX安装程序,它不仅需要将.net程序集复制到目标计算机上的INSTALLATIONDIR,而且还需要注册该对象,以便一些遗留的VB6应用程序可以使用.net程序集。
我一直在使用heat.exe (更准确地说是热文件任务)来获取一个片段,它是我通过componentGroupRef包含在我的主wix文件中的。我的问题是,heat.exe获取的文件应该是我的类库输出的.tlb文件,还是dll本身?如果我在.tlb上使用h
只安装了Visual 2017和wix扩展,在尝试构建使用Wix的解决方案时,我会得到以下错误:
Error The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. Could not find wix.targets at 'C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\'. To download WiX Toolset v3.11 (or newer), see http://wixtools
因此,在将整个项目升级到4.6.1之后,当我构建它时,就会遇到热抛出的错误:
Failed to load MSBuild wrapper object: Could not load file or assembly 'Microsoft.Build, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
我也得到
The command "
我正在构建一个依赖于wix安装项目的wix包,而wix安装依赖于一个C#项目。当我在本地构建时,一切都很好,但是当我在Jenkins上构建包时,当我尝试获取一些文件时,我会得到一个错误。热操作是一个预建的事件。
heat.exe : error HEAT5053: The directory 'c:\.Hudson\jobs\Project-Branch\workspace\MyProject\bin\x86\Release\Help' did not contain any files or sub-directories and since empty directorie