|
My environment is a little different from Chesong’s. I had to change make.bat to override dir.platformsdk and
dir.vc8 nant.exe
-buildfile:"%ROOT%\wix.build" %ACTION% -D:dir.root=%ROOT%
-D:dir.platformsdk="C:\Program Files\Microsoft Platform SDK"
-D:dir.vc8="C:\Program Files\Microsoft Visual Studio 8\VC"
-D:COMPLUSBUILD="v2.0.50727.42" -D:flavor=%FLAVOR% %VERBOSE% then
in global.include I had to set my architecture and change my machine <if
test="${x86}">
<property name="cl.defines" value="${cl.defines} -D_AMD64_
-D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 " /> </if> <if
test="${x86}">
<property name="link.standardOptions"
value="${link.standardOptions} -machine:x64" />
<property name="lib.standardOptions"
value="${lib.standardOptions} -machine:x64" /> </if> I
was able to compile some programs but I eventually run into problems in QTest. S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\\Build\debug\qtest\tests.xsd)'
in 'S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix'
[csc] Output file 'S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\Release\debug\WixQTest.exe'
does not exist, rebuilding.
[csc] Compiling 2 files to
'S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\Release\debug\WixQTest.exe'."
[csc] Contents of c:\temp\tmpA41.tmp.
[csc] /fullpaths
[csc] /debug
[csc] /checked
[csc] "/warn:4"
[csc] /nologo
[csc] "/target:exe"
[csc] "/define:DEBUG"
[csc]
"/out:S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\Release\debug\WixQTest.exe"
[csc] /warnaserror
[csc]
"/reference:S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\Release\debug\wix.dll"
[csc]
"/resource:S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\Build\debug\qtest\tests.xsd,Microsoft.Tools.WixQTest.Xsd.tests.xsd"
[csc]
"S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\inc\wixver.cs"
[csc]
"S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\Build\debug\wixkey.cs"
[csc]
[csc] Starting 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe
(@"c:\temp\tmpA41.tmp")' in
'S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix'
[csc] error CS5001: Program
's:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\release\debug\WixQTest.exe'
does not have an entry point defined BUILD
FAILED - 2 non-fatal error(s), 2 warning(s) S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\src\qtest\qtest.build(47,6): External
Program Failed: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return
code was 1): NAnt.Core.BuildException:
S:\sandbox\schin\workspaces\schin.3rdparty\tmw\wix\src\qtest\qtest.build(47,6): External
Program Failed: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return
code was 1)
at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask()
at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run() |
- [WiX-devs] Problem building 64 bit WIX Steven Chin
- RE: [WiX-devs] Problem building 64 bit WIX Rob Mensching
