-
I am trying to build WiX using VS2022 17.0.2; I do not have previous VS versions installed on my development system. I have the appropriate workloads installed & added the V141&v142 c++ build tools for all 3 Using the head commit from the develop branch I receive the following warnings:
But then receive an error of:
I presume that this is an issue with the windows SDK (I have the default 19041 installed). Or do I need the ATL's for 141 & 142 installed? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 22 replies
-
Others are better at diagnosing Windows SDK issues (and that looks like your problem) but I'd note that you'll want the very latest changes (as of this morning) to be able to successfully build using VS2022 (there are a few fixes). |
Beta Was this translation helpful? Give feedback.
-
I have all three of the 141/142/143 build tools installed. I found the files; There are 3 copies in "c:\program files\microsoft visual studio\2022\community\vc\tools\XXXX\include" where XXX is 14.16.2703, 14.29.30133, 14.30.3075 Since the error is "C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\windows.h(167): fatal error C1083: Cannot open include file: 'excpt.h'" it appears that the issue is one of include paths. Do I need to set include paths? I am attempting the build from a VS2022 x86 command prompt. Is that not correct? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I have V140 build tools installed also; I tried the generic developer prompt with the same result. I was incorrectly interpreting the instruction from the V3 build document to start a 32 bit command prompt. |
Beta Was this translation helpful? Give feedback.
-
As of today (12/7) when I try to build with the head commit (after the @rseanhall PR was merged) I still get the errors attempting to include excpt.h However, if I check out the @barnson branch 'bob/vs2022' the build goes on for about 8 minutes, generates 17 nupkg's and 1 snupkg in artifacts. There were test errors of
which is clearly an environment error, not a true test failure. And after figuring out how to install Notepad, the build runs to completion the following errors:
|
Beta Was this translation helpful? Give feedback.
-
Odd. Maybe the centralization of |
Beta Was this translation helpful? Give feedback.
-
Windows VS2022 17.0.2 @rseanhall All of the earlier toolsets were installed from the VS2022 installer |
Beta Was this translation helpful? Give feedback.
-
Sean, I actually figured out the procedure about an hour after I wrote my comment. Several of the components aren't available in VS2022 Community edition: |
Beta Was this translation helpful? Give feedback.
-
I first just modified my VS2022 with the import file -- Same 4 errors with excpt.h I then totally removed VS2022 and reinstalled, again using the import file -- Same 4 errors... |
Beta Was this translation helpful? Give feedback.
-
Two quick questions:
|
Beta Was this translation helpful? Give feedback.
-
This was resolved with the build enhancements that support building with VS2022 |
Beta Was this translation helpful? Give feedback.
This was resolved with the build enhancements that support building with VS2022