I have a concern about the 3-line fix for "Can't run `Heat project` on VS2013 
.vcxproj"
Although heat completes successfully and seems to generate correct results, I 
get the following exception that gets logged as a warning:

"Object of type 
'System.Collections.Generic.List`1[Microsoft.Build.Framework.ILogger]' cannot 
be converted to type 
'System.Collections.Generic.IEnumerable`1[Microsoft.Build.Framework.ILogger]'."

On

this.types.buildParametersType.GetProperty("Loggers").SetValue(this.buildParameters,
 loggers, null);

in the MSBuild40Project constructor.
This doesn't happen when running heat against VS2010 projects. Could some heat 
developer comment on this?

From: John Buuck [mailto:john.bu...@sccmediaserver.com]
Sent: Monday, April 21, 2014 4:34 PM
To: WiX toolset developer mailing list
Subject: Re: [WiX-devs] Bug 4279 Can't run `Heat project` on VS2013 .vcxproj

Specifically, the 3 lines of code I added were an additional case for the 
switch(version) in VSProjectHarvester.cs: 
VSProjectHarvester::GetMSBuildProject(string profileFile):

                case "12.0":
                    project = ConstructMsbuild40Project(projectFile, this.Core, 
this.configuration, this.platform, "12.0.0.0");
                    break;

From: Rob Mensching [mailto:r...@firegiant.com]
Sent: Monday, April 21, 2014 3:48 PM
To: WiX toolset developer mailing list
Subject: Re: [WiX-devs] Bug 4279 Can't run `Heat project` on VS2013 .vcxproj

"wixsupport" is Blair Murri. We've told him a couple times his login name is 
confusing to people. <shrug/>

He's here and could answer question. Blair?

_______________________________________________________________
FireGiant  |  Dedicated support for the WiX toolset  |  
http://www.firegiant.com/

From: John Buuck [mailto:john.bu...@sccmediaserver.com]
Sent: Monday, April 21, 2014 12:41 PM
To: wix-devs@lists.sourceforge.net<mailto:wix-devs@lists.sourceforge.net>
Subject: [WiX-devs] Bug 4279 Can't run `Heat project` on VS2013 .vcxproj

I notice that Bug 4279 is assigned to wixsupport. Does this mean that someone 
is looking into it or is this the same thing as marked Assigned to No one? I am 
interested in a fix for this so that we can use Heat against VS2013 C++ 
projects. I ran heat.exe under a debugger and found where it seems at least a 
few lines of code need to be added to support MSBuild 12.0, and after adding 
them, I was indeed able to run heat against my VS2013 C++ projects. A 
"heat.exe" expert could probably determine if more than just these few lines is 
needed - which may well be the case.

John Buuck
john.bu...@sccmediaserver.com<mailto:john.bu...@sccmediaserver.com>
http://www.sccmediaserver.com<http://www.sccmediaserver.com/>
770-751-8500 ext 257



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to