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

Gary Henry Gary.Henry at microfocus.com
Fri Jun 17 08:46:03 PDT 2022


To all,

I had problems getting WiX to build under VS 2022 at first but it was because the WiX Toolset Visual Studio Extension was still being developed. Not sure if it will resolve the issue with not finding "C:\Microsoft.Cpp.Default.props" but I am able to build with WiX with VS 2022 now after updating to the following versions:

WiX Toolset 3.11.2.4516
.NET Framework 3.5.1
Visual Studio Professional 2022 (64-bit) 17.2.3
WiX Toolset Visual Studio Extension 1.0.0.18
Windows 10 Enterprise x64 20H2 19042.1741
Visual C++ 2022 14.32.31326

Gary


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Greg Olone via wix-users
Sent: Friday, June 17, 2022 6:59 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Greg Olone <Greg.Olone at cellebrite.com>
Subject: Re: [wix-users] Help: I got error The imported project "C:\Microsoft.Cpp.Default.props" was not found with VS2019

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.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list