My suspicion is that there is some oddness in the way you are defining properties in tfsbuild.proj, how they are passed to the solution, and how the projects themselves consume those properties. In MSBuild you need to be explicit about which properties are passed to whom and values can get overridden if not properly conditioned.
Honestly, the interaction would be much easier to debug if I had a copy of a standard tfsbuild.proj, and a sample solution that reproduced the problem. No code is required. It's hard to remote debug without clear visibility into the actual environment. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > Sent: Thursday, May 20, 2010 7:34 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] msbuild command line parameters > > OK. I have a much easier repro scenario. I tried simply running msbuild on > my tfsbuild.proj > (after all this time I did not know you could do that...) And it failed in > exactly the same way - DefineConstants in the wixproj are not included on the > command line to candle. > > Unless a fix is coming this week I will have to find some other solution. > I will repost my question that got no response. > > -----Original Message----- > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > Sent: Thursday, May 20, 2010 8:11 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] msbuild command line parameters > > Maybe someone should TFS again. Seems pretty obvious that part is broken. > > My tfsbuild.proj is pretty standard. I've only included the relevant > sections. > > <ItemGroup> > <!-- SOLUTIONS > The paths of the solutions to build. Paths can be server paths or local > paths, but server paths > relative to the location of this file are highly recommended. To > add/delete solutions, edit this > ItemGroup. For example, to add a solution MySolution.sln, add the > following line: > > <SolutionToBuild > Include="$(BuildProjectFolderPath)/path/MySolution.sln" /> > > To change the order in which the solutions are built, modify the order in > which the solutions > appear below. > > To call a target (or targets) other than the default, add a metadata item > named Targets. To pass > custom properties to the solution, add a metadata item named Properties. > For example, to call > the targets MyCustomTarget1 and MyCustomTarget2, passing in properties > Property1 and Property2, > add the following: > > <SolutionToBuild > Include="$(BuildProjectFolderPath)/path/MySolution.sln"> > <Targets>MyCustomTarget1;MyCustomTarget2</Targets> > <Properties>Property1=Value1;Property2=Value2</Properties> > </SolutionToBuild> > --> > <SolutionToBuild > Include="$(BuildProjectFolderPath)/../../LBA/Source/AllProject/AllProject.sln" > > > <Targets></Targets> > <Properties> > DefineConstants=BG_STANDARD; > OutDir=$(TeamBuildOutDir)BG_STANDARD\ > </Properties> > </SolutionToBuild> > > <SolutionToBuild > Include="$(BuildProjectFolderPath)/../../LBA/Source/AllProject/AllProject.sln" > > > <Targets></Targets> > <Properties> > DefineConstants=BG_PROFESSIONAL; > OutDir=$(TeamBuildOutDir)BG_PROFESSIONAL\ > </Properties> > </SolutionToBuild> > </ItemGroup> > > <ItemGroup> > <!-- CONFIGURATIONS > The list of configurations to build. To add/delete configurations, edit > this value. For example, > to add a new configuration, add the following lines: > > <ConfigurationToBuild Include="Debug|x86"> > <FlavorToBuild>Debug</FlavorToBuild> > <PlatformToBuild>x86</PlatformToBuild> > </ConfigurationToBuild> > > The Include attribute value should be unique for each > ConfigurationToBuild node. > --> > <ConfigurationToBuild Include="Release|Any CPU"> > <FlavorToBuild>Release</FlavorToBuild> > <PlatformToBuild>Any CPU</PlatformToBuild> > </ConfigurationToBuild> > > </ItemGroup> > > and someone asked that I include this target > > <Target Name="BeforeBuild "> > <CreateProperty > Value="BGProductName=BeamGage Standard;$(DefineConstants)"> > <Output TaskParameter="Value" PropertyName="DefineConstants" /> > </CreateProperty> > </Target> > > I see BG_STANDARD passed to all the csproj and wixproj. But I still do not > see BGProductName in the build log or on the command line. > > > -----Original Message----- > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > Sent: Wednesday, May 19, 2010 1:37 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] msbuild command line parameters > > What does your TFS build file look like? I don't have TFS but I have used it > in the past. I'll do the best I can. > > Edwin G. Castro > Software Developer - Staff > Electronic Banking Services > Fiserv > Office: 503-746-0643 > Fax: 503-617-0291 > www.fiserv.com > Please consider the environment before printing this e-mail > > > > -----Original Message----- > > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > > Sent: Wednesday, May 19, 2010 12:19 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] msbuild command line parameters > > > > Yes, the definitions all have values. > > > > And yes, it works fine from the IDE. I too see -d"WiXProductName=BeamGage > > Standard" -dWiXProductVersion=5.3.3782 on the command line to candle when > run > > from the IDE or via msbuild on my development machine. > > > > But, with the identical wixproj, neither of the "-d" appears on the command > > line to candle when run from msbuild under TFS. > > > > > > -----Original Message----- > > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > > Sent: Wednesday, May 19, 2010 12:39 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] msbuild command line parameters > > > > I see I wasn't clear about WiXProductVersion before. I wish I had the > ability > > to edit email that was already sent... Anyways... > > > > WiXProductVersion doesn't have a value on the candle command line because > > $(WiXVersion) was not defined in my project file. I assume that WiXVersion > is > > defined in your project file. > > > > Edwin G. Castro > > Software Developer - Staff > > Electronic Banking Services > > Fiserv > > Office: 503-746-0643 > > Fax: 503-617-0291 > > www.fiserv.com > > Please consider the environment before printing this e-mail > > > > > > > -----Original Message----- > > > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > > > Sent: Wednesday, May 19, 2010 11:29 AM > > > To: General discussion for Windows Installer XML toolset. > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > Caveat: I don't have a TFS environment to test this out on. > > > > > > I created a new WixProject and defined a couple of values in > DefineConstants > > > like so: > > > > > > <Project DefaultTargets="Build" > > > xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> > > > <PropertyGroup> > > > <Configuration Condition=" '$(Configuration)' == '' > > > ">Debug</Configuration> > > > <Platform Condition=" '$(Platform)' == '' ">x86</Platform> > > > <ProductVersion>3.0</ProductVersion> > > > <ProjectGuid>{c6e8cf0f-4441-4b31-92a6-d9b294adf40f}</ProjectGuid> > > > <SchemaVersion>2.0</SchemaVersion> > > > <OutputName>WixProject1</OutputName> > > > <OutputType>Package</OutputType> > > > <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND > > > '$(MSBuildExtensionsPath32)' != '' > > > > ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath> > > > <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' > > > ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath> > > > </PropertyGroup> > > > <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' > > "> > > > <OutputPath>bin\$(Configuration)\</OutputPath> > > > <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> > > > <DefineConstants>Debug;WixProductName=BeamGage > > > Standard;WiXProductVersion=$(WiXVersion)</DefineConstants> > > > </PropertyGroup> > > > <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == > 'Release|x86' > > > "> > > > <OutputPath>bin\$(Configuration)\</OutputPath> > > > <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> > > > <DefineConstants>WixProductName=BeamGage > > > Standard;WiXProductVersion=$(WiXVersion)</DefineConstants> > > > </PropertyGroup> > > > <ItemGroup> > > > <Compile Include="Product.wxs" /> > > > </ItemGroup> > > > <Import Project="$(WixTargetsPath)" /> > > > <!-- > > > To modify your build process, add your task inside one of the > > targets > > > below and uncomment it. > > > Other similar extension points exist, see Wix.targets. > > > <Target Name="BeforeBuild"> > > > </Target> > > > <Target Name="AfterBuild"> > > > </Target> > > > --> > > > </Project> > > > > > > I now tried to build in the IDE: > > > > > > ------ Rebuild All started: Project: WixProject1, Configuration: Debug x86 > - > > -- > > > --- > > > C:\Program Files\Windows Installer XML v3\bin\candle.exe - > > > dDebug -d"WixProductName=BeamGage Standard" -dWiXProductVersion= - > > > d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\\" - > > > dSolutionDir=C:\code\WixProject1\ -dSolutionExt=.sln - > > > dSolutionFileName=WixProject1.sln -dSolutionName=WixProject1 - > > > dSolutionPath=C:\code\WixProject1\WixProject1.sln -dConfiguration=Debug - > > > dOutDir=bin\Debug\ -dPlatform=x86 - > > > dProjectDir=C:\code\WixProject1\WixProject1\ -dProjectExt=.wixproj - > > > dProjectFileName=WixProject1.wixproj -dProjectName=WixProject1 - > > > dProjectPath=C:\code\WixProject1\WixProject1\WixProject1.wixproj - > > > dTargetDir=C:\code\WixProject1\WixProject1\bin\Debug\ -dTargetExt=.msi - > > > dTargetFileName=WixProject1.msi -dTargetName=WixProject1 - > > > dTargetPath=C:\code\WixProject1\WixProject1\bin\Debug\WixProject1.msi -out > > > obj\Debug\Product.wixobj -arch x86 Product.wxs > > > C:\Program Files\Windows Installer XML v3\bin\Light.exe - > > > cultures:null -out > C:\code\WixProject1\WixProject1\bin\Debug\WixProject1.msi > > - > > > pdbout C:\code\WixProject1\WixProject1\bin\Debug\WixProject1.wixpdb > > > obj\Debug\Product.wixobj > > > C:\code\WixProject1\WixProject1\Product.wxs(6,0): warning LGHT1079: The > > > cabinet 'media1.cab' does not contain any files. If this installation > > > contains no files, this warning can likely be safely ignored. Otherwise, > > > please add files to the cabinet or remove it. > > > ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== > > > > > > ------ Rebuild All started: Project: WixProject1, Configuration: Release > x86 > > - > > > ----- > > > C:\Program Files\Windows Installer XML v3\bin\candle.exe - > > > d"WixProductName=BeamGage Standard" -dWiXProductVersion= - > > > d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\\" - > > > dSolutionDir=C:\code\WixProject1\ -dSolutionExt=.sln - > > > dSolutionFileName=WixProject1.sln -dSolutionName=WixProject1 - > > > dSolutionPath=C:\code\WixProject1\WixProject1.sln -dConfiguration=Release > - > > > dOutDir=bin\Release\ -dPlatform=x86 - > > > dProjectDir=C:\code\WixProject1\WixProject1\ -dProjectExt=.wixproj - > > > dProjectFileName=WixProject1.wixproj -dProjectName=WixProject1 - > > > dProjectPath=C:\code\WixProject1\WixProject1\WixProject1.wixproj - > > > dTargetDir=C:\code\WixProject1\WixProject1\bin\Release\ -dTargetExt=.msi - > > > dTargetFileName=WixProject1.msi -dTargetName=WixProject1 - > > > dTargetPath=C:\code\WixProject1\WixProject1\bin\Release\WixProject1.msi - > out > > > obj\Release\Product.wixobj -arch x86 Product.wxs > > > C:\Program Files\Windows Installer XML v3\bin\Light.exe - > > > cultures:null -out > > C:\code\WixProject1\WixProject1\bin\Release\WixProject1.msi > > > -pdbout C:\code\WixProject1\WixProject1\bin\Release\WixProject1.wixpdb > > > obj\Release\Product.wixobj > > > C:\code\WixProject1\WixProject1\Product.wxs(6,0): warning LGHT1079: The > > > cabinet 'media1.cab' does not contain any files. If this installation > > > contains no files, this warning can likely be safely ignored. Otherwise, > > > please add files to the cabinet or remove it. > > > ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== > > > > > > I see them: -d"WiXProductName=BeamGage Standard" -dWiXProductVersion= > > > > > > Note that $(WiXVersion) in my project file so I would expect not to see a > > > value on the command line. > > > I assume you are defining the WiXVersion property in your project. > > > > > > I ran msbuild on the command line (I'll only show the output for the > candle > > > task for brevity): > > > > > > msbuild .\WixProject1.sln /t:rebuild /v:detailed > > > > > > Task "Candle" > > > Command: > > > C:\Program Files\Windows Installer XML v3\bin\candle.exe -dDebug - > > > d"WixProductName=BeamGage Standard" -dWiXProductVersion= - > > > d"DevEnvDir=c:\Program Files\Microsoft Visual Studio > > > 9.0\Common7\IDE" -dSolutionDir=C:\code\WixProject1\ -dSolutionExt=.sln - > > > dSolutionFileName=WixProject1.sln -dSolutionName=WixProject1 - > > > dSolutionPath=C:\code\WixProject1\WixProjec > > > t1.sln -dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86 - > > > dProjectDir=C:\code\WixProject1\WixProject1\ -dProjectExt=.wixproj - > > > dProjectFileName=WixProject1.wixproj -dProje > > > ctName=WixProject1 - > > > dProjectPath=C:\code\WixProject1\WixProject1\WixProject1.wixproj - > > > dTargetDir=C:\code\WixProject1\WixProject1\bin\Debug\ -dTargetExt=.msi - > > > dTargetFileName=Wix > > > Project1.msi -dTargetName=WixProject1 - > > > dTargetPath=C:\code\WixProject1\WixProject1\bin\Debug\WixProject1.msi -out > > > obj\Debug\Product.wixobj -arch x86 Product.wxs > > > Microsoft (R) Windows Installer Xml Compiler version 3.0.5419.0 > > > Copyright (C) Microsoft Corporation. All rights reserved. > > > > > > Product.wxs > > > Done executing task "Candle". > > > > > > msbuild .\WixProject1.sln /t:rebuild /v:detailed /p:Configuration=Release > > > > > > Task "Candle" > > > Command: > > > C:\Program Files\Windows Installer XML v3\bin\candle.exe - > > > d"WixProductName=BeamGage Standard" -dWiXProductVersion= - > > > d"DevEnvDir=c:\Program Files\Microsoft Visual Studio 9.0\Comm > > > on7\IDE" -dSolutionDir=C:\code\WixProject1\ -dSolutionExt=.sln - > > > dSolutionFileName=WixProject1.sln -dSolutionName=WixProject1 - > > > dSolutionPath=C:\code\WixProject1\WixProject1.sln - > > > dConfiguration=Release -dOutDir=bin\Release\ -dPlatform=x86 - > > > dProjectDir=C:\code\WixProject1\WixProject1\ -dProjectExt=.wixproj - > > > dProjectFileName=WixProject1.wixproj -dProjectNa > > > me=WixProject1 - > > > dProjectPath=C:\code\WixProject1\WixProject1\WixProject1.wixproj - > > > dTargetDir=C:\code\WixProject1\WixProject1\bin\Release\ -dTargetExt=.msi - > > > dTargetFileName=WixPr > > > oject1.msi -dTargetName=WixProject1 - > > > dTargetPath=C:\code\WixProject1\WixProject1\bin\Release\WixProject1.msi - > out > > > obj\Release\Product.wixobj -arch x86 Product.wxs > > > Microsoft (R) Windows Installer Xml Compiler version 3.0.5419.0 > > > Copyright (C) Microsoft Corporation. All rights reserved. > > > > > > Product.wxs > > > Done executing task "Candle". > > > > > > I see them here too: -d"WiXProductName=BeamGage Standard" - > > dWiXProductVersion= > > > > > > That's the behavior I expected. Am I missing something? > > > > > > Edwin G. Castro > > > Software Developer - Staff > > > Electronic Banking Services > > > Fiserv > > > Office: 503-746-0643 > > > Fax: 503-617-0291 > > > www.fiserv.com > > > Please consider the environment before printing this e-mail > > > > > > > -----Original Message----- > > > > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > > > > Sent: Wednesday, May 19, 2010 9:11 AM > > > > To: General discussion for Windows Installer XML toolset. > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > Repro is simple. From a default wixproj created in VS2008, I added the > > > > following > > > > > > > > <PropertyGroup> > > > > > > > > <WixToolPath>$(MSBuildProjectDirectory)\..\..\..\Installations\WiX\Wind > > > > ows Installer XML v3\bin\</WixToolPath> > > > > <WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath> > > > > <WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath> > > > > <IncludeSearchPaths> > > > > </IncludeSearchPaths> > > > > </PropertyGroup> > > > > > > > > and > > > > > > > > <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == > > > > 'Release|x86' "> > > > > <OutputPath>bin\$(Configuration)\</OutputPath> > > > > > > > > <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> > > > > <DefineConstants> WiXProductName=&quot;BeamGage > > > > Standard&quot;; WiXProductVersion=$(WiXVersion);</DefineConstants> > > > > </PropertyGroup> > > > > > > > > I am using WiX v3.0. When I run this wixproj under msbuild the > > > > DefineConstants are NOT included on the command line to candle. I have > > > > verified that the IntermediateOutputPath is processed. > > > > > > > > That was it. I was building our solution including a similar, previous > > > > wixproj that did not require the DefineConstants. > > > > > > > > > > > > I am at a dead end. I do not know what to do. Where else can I go for > > > > help? > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > > > > Sent: Wednesday, May 19, 2010 9:39 AM > > > > To: General discussion for Windows Installer XML toolset. > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > I've successfully used DefineConstants before. I used it to provide > > > > external paths to locations I was harvesting. Of course, a repo would > > > > be nice. > > > > > > > > Edwin G. Castro > > > > Software Developer - Staff > > > > Electronic Banking Services > > > > Fiserv > > > > Office: 503-746-0643 > > > > Fax: 503-617-0291 > > > > www.fiserv.com > > > > Please consider the environment before printing this e-mail > > > > > > > > > > > > > -----Original Message----- > > > > > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > > > > > Sent: Wednesday, May 19, 2010 7:30 AM > > > > > To: General discussion for Windows Installer XML toolset. > > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > > > I'm having trouble getting the build to behave right now... > > > > > > > > > > > > > > > In the mean time, this was the source I was following > > > > > > > > > > http://www.ageektrapped.com/blog/setting-properties-for-wix-in- > > > > msbuild/ > > > > > > > > > > I am assuming that this worked at the time it was written. But now > > > > it > > > > > does not work? > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Kurt Jensen > > > > > Sent: Tuesday, May 18, 2010 2:41 PM > > > > > To: 'General discussion for Windows Installer XML toolset.' > > > > > Subject: RE: [WiX-users] msbuild command line parameters > > > > > > > > > > I'll try. It is being built under VS2008 and TFS2008. > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > > > > > Sent: Tuesday, May 18, 2010 2:25 PM > > > > > To: General discussion for Windows Installer XML toolset. > > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > > > Can you make a minimal *.wixproj that reproduces the problem? > > > > > I don't see anything obvious in the information you've already > > > > shared. > > > > > I just looked through the wix.targets and wix2010.targets files in > > > > case > > > > > something is happening there that would account for what you are > > > > seeing > > > > > but didn't find anything obvious either. > > > > > > > > > > Edwin G. Castro > > > > > Software Developer - Staff > > > > > Electronic Banking Services > > > > > Fiserv > > > > > Office: 503-746-0643 > > > > > Fax: 503-617-0291 > > > > > www.fiserv.com > > > > > Please consider the environment before printing this e-mail > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > > > > > > Sent: Tuesday, May 18, 2010 1:08 PM > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > > > > > Good idea but still not appearing in the build log. > > > > > > > > > > > > Any more ideas out there? > > > > > > > > > > > > -----Original Message----- > > > > > > From: Blair [mailto:os...@live.com] > > > > > > Sent: Monday, May 17, 2010 10:14 PM > > > > > > To: 'General discussion for Windows Installer XML toolset.' > > > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > > > > > I haven't tested it, but I wonder if the whitespace is causing > > > > > > problems. > > > > > > > > > > > > What happens if you try: > > > > > > <DefineConstants>WiXProductName="BeamGage > > > > > > > > > > Professional";WiXProductVersion=$(WiXVersion)</DefineConstants> > > > > > > Or: > > > > > > <DefineConstants>"WiXProductName=BeamGage > > > > > > > > > > Professional";WiXProductVersion=$(WiXVersion)</DefineConstants> > > > > > > ? > > > > > > > > > > > > -----Original Message----- > > > > > > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > > > > > > Sent: Monday, May 17, 2010 3:48 PM > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > Subject: Re: [WiX-users] msbuild command line parameters > > > > > > > > > > > > The PropertyGroup code is as follows: > > > > > > > > > > > > <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == > > > > > > 'Release|x86' "> > > > > > > <OutputPath>bin\$(Configuration)\</OutputPath> > > > > > > > > > > > > > > > > > > > > > <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> > > > > > > <DefineConstants>WiXProductName=BeamGage > > > > > > Professional;WiXProductVersion=$(WiXVersion);</DefineConstants> > > > > > > </PropertyGroup> > > > > > > > > > > > > I changed <IntermediateOutputPath> to "obj\IntermediateOutputPath". > > > > > > The > > > > > > command line in the build log now specifies "-out > > > > > > obj\IntermediateOutputPath\module.wixobj". That proves that the > > > > > > PropertyGroup containing DefineConstants is being executed. > > > > > > > > > > > > I should be seeing "-dWixProductName=" and "-dWixProductVersion=" > > > > on > > > > > > the > > > > > > command line. > > > > > > > > > > > > Any idea why the DefineConstants is not being passed to candle? > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Kurt Jensen [mailto:kurt.jen...@ophir-spiricon.com] > > > > > > Sent: Monday, May 17, 2010 3:05 PM > > > > > > To: wix-users@lists.sourceforge.net > > > > > > Subject: [WiX-users] msbuild command line parameters > > > > > > > > > > > > I'm trying to build my wixproj in msbuild. The solution > > > > > > ConfigurationToBuild is "Release|Any CPU". Inside of my > > > > > configuration > > > > > > the wixproj is built as "Release|x86". > > > > > > > > > > > > > > > > > > > > > > > > In my wixproj I have a 'Release|x86' PropertyGroup that includes > > > > > > <DefineConstants>. But none of the DefineConstants are being > > > > > included > > > > > > on the command line to candle during the build. The PropertyGroup > > > > > and > > > > > > DefineConstants work fine in the IDE. In the build log I verified > > > > > that > > > > > > the command line contains -dConfiguration=Release and - > > > > > dPlatform=x86. > > > > > > > > > > > > > > > > > > > > > > > > Any idea how to get the wixproj DefineConstants passed to candle in > > > > > > msbuild? > > > > > > > > > > > > > > > > > > > > > > > > Kurt Jensen > > > > > > > > > > > > > > > > > > > > > > > > > > > ********************************************************************** > > > > > > This email and any files transmitted with it are confidential and > > > > > > intended solely for the use of the individual or entity to whom > > > > they > > > > > > are addressed. If you have received this email in error please > > > > notify > > > > > > the system manager. > > > > > > > > > > > > This footnote also confirms that this email message has been swept > > > > by > > > > > > MIMEsweeper for the presence of computer viruses. > > > > > > > > > > > > www.clearswift.com > > > > > > > > > > > > > > > ********************************************************************** > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > -- > > > > > -- > > > > > > - > > > > > > ------ > > > > > > > > > > > > _______________________________________________ > > > > > > WiX-users mailing list > > > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > ------------------------------------------------------------------- > > > > -- > > > > > -- > > > > > > - > > > > > > ---- > > > > > > -- > > > > > > > > > > > > _______________________________________________ > > > > > > WiX-users mailing list > > > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > -- > > > > > -- > > > > > > - > > > > > > ------ > > > > > > > > > > > > _______________________________________________ > > > > > > WiX-users mailing list > > > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > ------------------------------------------------------------------- > > > > -- > > > > > -- > > > > > > ------- > > > > > > > > > > > > _______________________________________________ > > > > > > WiX-users mailing list > > > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > --------------------------------------------------------------------- > > > > -- > > > > > ------- > > > > > > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > --------------------------------------------------------------------- > > > > -- > > > > > ------- > > > > > > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ----------------------------------------------------------------------- > > > > ------- > > > > > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ----------------------------------------------------------------------- > > > > ------- > > > > > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > -------------------------------------------------------------------------- > -- > > -- > > > > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------------- > -- > > > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------------- > -- > > > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users