我正在嘗試對源代碼WIX 3.6進行調試以及學習東西。WIX和NAnt:無法構建WIX源代碼
在執行make.bat
(存在於WIX源的根文件夾中)文件時,首先我找不到NAnt。所以我下載了NAnt並更新了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.
我有框架4.0在我的本地安裝。此外,我通過註冊表搜索錯誤中提到的註冊表項並沒有找到。我使用的是NAnt的正確版本嗎?
你說你已經更新了MAKE.BAT。你有什麼改變? –
我更新了make.bat文件中的NAnt路徑。 –