Might try using the 32-bit cmd.exe instead. I think that will give you the
right paths.

On Fri, Oct 22, 2010 at 5:29 AM, David Aldridge <[email protected]
> wrote:

>  I'm on a Windows 7 x64 installation with VS2008Pro+SP1 and NAnt 0.90.
> I've obtained source via:  hg clone https://hg01.codeplex.com/wix -branch
> wix30.  When running 'make ship' I'm getting some warnings-as-errors which
> appear to stem from mismatched platforms (building as x86 but referencing
> x64 framework assemblies).
>
> For example, from verbose log output:
>
>      [exec] Using "Csc" task from assembly "Microsoft.Build.Tasks.v3.5,
> Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
>      [exec] Task "Csc"
>      [exec]   Command:
>      [exec]   C:\Windows\Microsoft.NET\Framework64\v3.5\Csc.exe /noconfig
> /unsafe- /checked+ /nowarn:618,1701,1702 /nostdlib- /platform:x86
> /errorreport:prompt /warn:4 /define:TRACE
> /reference:C:\Windows\Microsoft.NET\Framework64\v2.0.50727\System.dll
> /reference:C:\Windows\Microsoft.NET\Framework64\v2.0.50727\System.Xml.dll
> /debug:pdbonly /delaysign+ /filealign:4096
> /keyfile:D:\Development\wix\bin\publickey_wix.snk /optimize+
> /out:D:\Development\wix\build\obj\ship\x86\DocCompiler\DocCompiler.exe
> /resource:Xsd\docCompiler.xsd,Microsoft.Tools.DocCompiler.Xsd.docCompile
> r.xsd /target:exe /warnaserror+ AssemblyInfo.cs DocCompiler.cs
> XmlSchemaCompiler.cs D:\Development\wix\inc\wixver.cs
> D:\Development\wix\inc\wixdistribution.cs
>
>      [exec]   The "Csc" task is using "Csc.exe" from
> "C:\Windows\Microsoft.NET\Framework64\v3.5\Csc.exe".
>      [exec]   Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.4926
>      [exec]   for Microsoft (R) .NET Framework version 3.5
>      [exec]   Copyright (C) Microsoft Corporation. All rights reserved.
>      [exec]
>      [exec] error CS1607 : Warning as error : Assembly generation --
> Referenced assembly 'mscorlib.dll' targets a different processor
>      [exec] Done executing task "Csc" -- FAILED.
>
> This occurs for DocCompiler, GenerateWixInclude, MsgGen, WixCop, and
> ToolSrc.   I would expect the /reference:  arguments to be using
> ...\Framework\... instead of ...\Framework64\... .
>
> Any ideas on what is causing this problem?
>
> -David
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> WiX-devs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-devs
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to