[wix-users] Help: I got error The imported project "C:\Microsoft.Cpp.Default.props" was not found with VS2019

Greg Olone Greg.Olone at cellebrite.com
Fri Jun 17 06:59:19 PDT 2022


I was never successful getting WiX to build under VS 2022 or 2019. I had to go back to VS 2017 in the end.

Greg

From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of albert zhang via wix-users <wix-users at lists.wixtoolset.org>
Date: Thursday, June 16, 2022 at 3:15 PM
To: wix-users at lists.wixtoolset.org <wix-users at lists.wixtoolset.org>
Cc: albert.zhang at etinet.com <albert.zhang at etinet.com>
Subject: [wix-users] Help: I got error The imported project "C:Microsoft.Cpp.Default.props" was not found with VS2019
Hi,



I got error The imported project "C:\Microsoft.Cpp.Default.props" was not
found when i built wixproj under VS2022.



I found that it is because HEAT is loading old version of MSBUILD under
folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319. It is not using the
one under C:\Program Files (x86)\Microsoft Visual
Studio\2019\Enterprise\MSBuild\Current\Bin.



But I don't know how to make the HEAT to load the correct version of
MSBUILD.



Thank you for your help.



Albert


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://protect2.fireeye.com/v1/url?k=31323334-501d5122-3134ce07-454445555731-8ff12dcdb1133e05&q=1&e=0ca2b377-99ab-4236-b400-afbd5cbb534e&u=http%3A%2F%2Fwww.firegiant.com%2F
This e-mail and the information it contains may be privileged and/or confidential. It is intended solely for the use of the named recipient(s). If you are not the intended recipient you may not disclose, copy, distribute or retain any part of this message or attachments. If you have received this e-mail in error please notify the sender immediately [by clicking 'Reply'] and delete this e-mail.



More information about the wix-users mailing list