[wix-users] Issue with Heat & MSBuild

Ven H venh.123 at gmail.com
Thu Dec 23 11:26:52 PST 2021


Hi Bevan,

Thanks a lot for your response. I think it was built using VS 2017 or
before, but not quite sure. Other WiX projects build absolutely fine (with
VS 2019 and WiX 3.11.2) without heat. I searched quite a bit but didn't
find anything helpful. That's why I posted here.


On Fri, Dec 24, 2021 at 12:53 AM Bevan Weiss <bevan.weiss at gmail.com> wrote:

> That version number for Microsoft.Build doesn't seem to match with Visual
> Studio 2019.
>
> So what version of Visual Studio was used for the project originally?
> It seems you have a fixed reference to an old MSBuild somewhere.
>
> Do other WiX projects work fine? (With/without Heat)
>
> Have you tried to google for the problem?
>
>
> Regards,
> Bevan
>
> 24 Dec 2021 00:42:26 Ven H via wix-users <wix-users at lists.wixtoolset.org>:
>
> > Can anyone please help with this? I searched a lot, but could not find
> any
> > solution.
> >
> >
> > On Wed, Dec 22, 2021 at 9:19 PM Ven H <venh.123 at gmail.com> wrote:
> >
> >> I have a Visual Studio 2019 Professional and Votive for 2019 installed.
> I
> >> have WixToolSet v3.11.2 also installed. When I open an existing solution
> >> (provided by a customer), with WiX Project and try to build it, I am
> >> getting the following error. In the PreBuild event, they are calling the
> >> Heat command. Can anyone please help? I think the project was built long
> >> back with WiXToolSet v3.8.
> >>
> >> error HEAT5316: Failed to load MSBuild wrapper object: Could not load
> file
> >> or assembly 'Microsoft.Build, Version=12.0.0.0, Culture=neutral,
> >> PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system
> >> cannot find the file specified.
> >>
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list