I've found HEAT doesn't generate any output even for a brand new empty VS2010
C# class library project. Here is what the output window contains when I try to
build a simple installer containing only the brand new empty VS2010 C# class
library project:
------ Build started: Project: ArtOfTest.DesignCanvas.Installer, Configuration:
Release x86 ------
C:\Program Files\Windows Installer XML v3.5\bin\Heat.exe
project "..\ClassLibrary1\ClassLibrary1.csproj" -pog:Binaries -pog:Symbols
-pog:Sources -pog:Content -pog:Satellites -pog:Documents -ag -sfrag -out
obj\Release\_ClassLibrary1.wxs
C:\Program Files\Windows Installer XML v3.5\bin\candle.exe
-d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\\"
-d"SolutionDir=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\\" -dSolutionExt=.sln
-dSolutionFileName=DesignCanvasBuild.sln -dSolutionName=DesignCanvasBuild
-d"SolutionPath=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\DesignCanvasBuild.sln"
-dConfiguration=Release -dOutDir=bin\Release\ -dPlatform=x86
-d"ProjectDir=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ArtOfTest.DesignCanvas.Installer\\"
-dProjectExt=.wixproj
-dProjectFileName=ArtOfTest.DesignCanvas.Installer.wixproj
-dProjectName=ArtOfTest.DesignCanvas.Installer
-d"ProjectPath=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ArtOfTest.DesignCanvas.Installer\ArtOfTest.DesignCanvas.Installer.wixproj"
-d"TargetDir=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ArtOfTest.DesignCanvas.Installer\bin\Release\\"
-dTargetExt=.msi -d"TargetFileName=Design Canvas 2.0.8.msi"
-d"TargetName=Design Canvas 2.0.8"
-d"TargetPath=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ArtOfTest.DesignCanvas.Installer\bin\Release\Design
Canvas 2.0.8.msi" -dClassLibrary1.Configuration=Release
-d"ClassLibrary1.FullConfiguration=Release|AnyCPU"
-dClassLibrary1.Platform=AnyCPU
-d"ClassLibrary1.ProjectDir=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ClassLibrary1\\"
-dClassLibrary1.ProjectExt=.csproj
-dClassLibrary1.ProjectFileName=ClassLibrary1.csproj
-dClassLibrary1.ProjectName=ClassLibrary1
-d"ClassLibrary1.ProjectPath=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ClassLibrary1\ClassLibrary1.csproj"
-d"ClassLibrary1.TargetDir=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ClassLibrary1\bin\Release\\"
-dClassLibrary1.TargetExt=.dll -dClassLibrary1.TargetFileName=ClassLibrary1.dll
-dClassLibrary1.TargetName=ClassLibrary1
-d"ClassLibrary1.TargetPath=C:\Users\cgibson\Documents\Visual Studio
2010\Projects\DesignCanvas\V2.0\DesignCanvas\ClassLibrary1\bin\Release\ClassLibrary1.dll"
-out obj\Release\ -arch x86 -ext "..\..\..\..\..\..\..\..\..\Program
Files\Windows Installer XML v3.5\bin\WixNetFxExtension.dll" -ext
"..\..\..\..\..\..\..\..\..\Program Files\Windows Installer XML
v3.5\bin\WixUIExtension.dll" -ext "..\..\..\..\..\..\..\..\..\Program
Files\Windows Installer XML v3.5\bin\WixVSExtension.dll" Product.wxs
obj\Release\_ClassLibrary1.wxs
candle.exe(0,0): error CNDL0103: The system cannot find the file
'obj\Release\_ClassLibrary1.wxs' with type 'Source'.
Done building project "ArtOfTest.DesignCanvas.Installer.wixproj" -- FAILED.
From: Cody Gibson
Sent: Wednesday, January 13, 2010 11:42 AM
To: '[email protected]'
Subject: HEAT with VS 2010 CSPROJ files
I am in the midst of upgrading our product to be VS 2010 compatible. We're
using WIX to generate a .msi installer. I've upgraded to WIX 3.5.1309.0 and
have run into a snag.
Specifically I'm having a problem with the HEAT tool in this version. It is
having trouble working with our VS2010 converted .csproj files. Votive wants to
automatically run this command line:
C:\Program Files\Windows Installer XML v3.5\bin\Heat.exe project
"..\..\Common\ArtOfTest.Common.Design\ArtOfTest.Common.Design\ArtOfTest.Common.Design.csproj"
-pog:Binaries -pog:Symbols -pog:Sources -pog:Content -pog:Satellites
-pog:Documents -ag -sfrag -out obj\Release\_ArtOfTest.Common.Design.wxs
If I manually run this at the command line and point it to the working VS2008
.csproj file I get the expected output file just fine. But if I point it to the
converted VS2010 .csproj file (which does compile and generates a .dll in
VS2010 no problem), nothing gets output. There's no error message of any kind
either. I tried adding the -verbose switch and that didn't add any output
either. Absolutely nothing comes out (no generated output, no error message of
any kind, etc.). Nothing is put in the Event Viewer/Application log either. I
am stumped as to why I am not getting any output.
Is there any more information I can give to help? Here is the contents of one
of my converted .csproj files (trimmed slightly to hide most of our source code
file names):
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users