Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WIX和NAnt:无法生成WIX源代码_Wix_Nant_Wix3.6 - Fatal编程技术网

WIX和NAnt:无法生成WIX源代码

WIX和NAnt:无法生成WIX源代码,wix,nant,wix3.6,Wix,Nant,Wix3.6,我正在尝试我的源代码的调试以及学习的东西 在执行make.bat(存在于WIX源代码的根文件夹中)文件时,首先我得到了NAnt not found。所以我下载并更新了make.bat文件。在再次执行该文件时,我得到了这个错误 NAnt 0.91 (Build 0.91.3881.0; alpha2; 8/17/2010) Copyright (C) 2001-2010 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///D:/wi

我正在尝试我的源代码的调试以及学习的东西

在执行
make.bat
(存在于WIX源代码的根文件夹中)文件时,首先我得到了NAnt not found。所以我下载并更新了make.bat文件。在再次执行该文件时,我得到了这个错误

NAnt 0.91 (Build 0.91.3881.0; alpha2; 8/17/2010)
Copyright (C) 2001-2010 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/wix36-sources/wix.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: inc

[readregistry] Registry Path Not Found! - key='Software\Microsoft\VisualStudio\VSIP\10.0\';hive='Microsoft.Win32.RegistryHive[]';
[readregistry] Registry Path Not Found! - key='Software\Microsoft\VisualStudio\VSIP\10.0\';hive='Microsoft.Win32.RegistryHive[]';
 [property] Target framework changed to "Microsoft .NET Framework 2.0".
 [property] Read-only property "dir.hhw" cannot be overwritten.
 [property] Read-only property "hhw-found" cannot be overwritten.

BUILD FAILED - 2 non-fatal error(s), 2 warning(s)

D:\wix36-sources\wix.build(65,4):
Build file 'D:\wix36-sources\test\wixtests.build' does not exist.

我在本地计算机上安装了.Net framework 4.0。我还在注册表中搜索错误中提到的注册表项,但没有找到。我使用的NAnt版本正确吗?

你有所有的先决条件吗

为了全面构建WiX,必须安装以下框架和SDK:

  • 南特(0.90或更高)
  • Windows Server 2008 Windows SDK和.NET Framework 3.5、Visual Studio 2008、Microsoft Windows 7 SDK和/或Visual Studio 2010中的以下组件:
    • x86和x64编译器、标头和库
    • IA64标头和库是可选的,但它们对于IA64自定义操作支持是必需的
    • 如果您希望能够构建优化的IA64二进制文件,则需要同时安装Windows Server 2008的Windows SDK和.NET Framework 3.5 SDK以及Visual Studio 2008;或Microsoft Windows 7 SDK和Visual Studio 2010
    • HTML帮助SDK 1.4或更高版本[安装到程序文件或程序文件(x86)]
缺少的注册表项似乎与VisualStudio SDK有关-基本WiX不需要此项

如果您具备所有先决条件,请尝试将
-debug
开关传递到Nant以获得更详细的调试输出。

要解决此问题:

[readregistry]找不到注册表路径!-key='Software\Microsoft\VisualStudio\VSIP\10.0\';配置单元=“Microsoft.Win32.RegistryHive[]”

[readregistry]找不到注册表路径!-key='Software\Microsoft\VisualStudio\VSIP\10.0\';配置单元=“Microsoft.Win32.RegistryHive[]”


如果使用Visual Studio 2010 SP1,则需要

您说您已更新make.bat。您更改了什么?我更新了make.bat文件中的NAnt路径。如果您使用的是VS2008-请尝试:Visual Studio 2008 SDK 1.1@