[wix-users] VS2019 C++ project harvesting
r.sean.hall at gmail.com
Wed Oct 21 09:44:30 PDT 2020
No one has implemented project harvesting in Heat for MSBuild 15+ (
On Wed, Oct 21, 2020 at 3:45 AM DUCKA Michal via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> Hi All, my first post here, hope not to break any unspoken newbie rules 😊
> I’m having a hard time updating VS2010 WiX setup project to VS2019 tools.
> What we want to do in same exercise is to migrate C++ projects to v142
> toolset. I’ve tries many ways but still cannot force heat to harvest such a
> project properly. Problem already fought against:
> * On VS2010 + VS2019 machine – no way to persuade heat to use MSBuild
> + it’s settings from Program files x86\Visual studio\... folder. It was
> always trying to take it from Program files x86\MSBuild
> * I moved to new machine with VS2019 only – problem persisted but was
> able to overcome it by setting VCTargetsPath environmental variable.
> * Changed ToolsVersion for both C++ project and WiX setup project to
> 15.0 or Current and result is same - cannot go any further because of this
> message: heat.exe(0,0): error HEAT5305: Failed to load project
> RibbonBar2017.vcxproj: The expression
> Files (x86)\Microsoft Visual
> cannot be evaluated. Method
> not found.
> After reading this I checked around and found out some suggestions that it
> may be related to MSBuild 15 dlls to be registered in GAC and that
> unregistration should help, but it was not the case. I have MSBuild stuff
> in GAC but it v4.0 dlls.
> So, my question is simple: is there a way to harvest VC++ v142 project
> using heat.exe on VS2019 only machine? If so, what I missed or did wrong to
> achieve it?
> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users