MFC is missing from latest Visual Studio 2019 image
https://ci.appveyor.com/project/Xottab-DUTY/xray-16/builds/25369353/job/nw9oc0u9s95x2gat/messages
Build is failing with missing afxres.h which belongs to MFC.
What can I do? Switch back to 2017 for now?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 18 Jun, 2019 10:18 PM
This image is in building stage now and we update it often. Please watch https://github.com/appveyor/ci/issues/2985. It would be very helpful if you confirm that VS component we plan to add (
Microsoft.VisualStudio.Component.VC.ATLMFC
) is correct.2 Posted by Xottab_DUTY on 19 Jun, 2019 09:51 AM
According to the component's name, it's correct. But how I can look at the names of components installed by VS Installer on my computer? Just to be 146% sure)
3 Posted by Ilya Finkelshte... on 19 Jun, 2019 06:13 PM
Appreciate the help. I think here you can find a proper approach. I would add a filter to the last line though, e.g.
4 Posted by Xottab_DUTY on 20 Jun, 2019 12:23 PM
Here, that should be the list of packages that are required to install.
In VS Installer you can just select "MFC for x86 and x64", it will say that "ATL for x86 and x64" is also required and that's all, while internally "MFC for x86 and x64" and "ATL..." is separated to several packages.
5 Posted by Ilya Finkelshte... on 21 Jun, 2019 01:19 AM
I tried to double-check and was not able to find an option called exactly
MFC for x86 and x64
. Here is a screen ofSDKs, libraries, and frameworks
inIndividual components
in Visual Studio 2019 version 16.1.3. When specific one should be checked? Sorry my ignorance :)6 Posted by Xottab_DUTY on 21 Jun, 2019 01:25 AM
True, It was an approximate name, since I'm using Russian-localized VS Installer I just translated it roughly. My bad)
According to the screenshot, it's name is
C++ MFC for v142 build tools (x86 & x64)
7 Posted by Ilya Finkelshte... on 21 Jun, 2019 01:39 AM
Sure, thank you :)
8 Posted by Ilya Finkelshte... on 25 Jun, 2019 06:12 PM
Please try now.
9 Posted by Xottab_DUTY on 25 Jun, 2019 08:45 PM
Thank you! The build is working now: https://ci.appveyor.com/project/Xottab-DUTY/xray-16/builds/25536057
10 Posted by Ilya Finkelshte... on 25 Jun, 2019 09:36 PM
Great! Thanks for the update.
Ilya Finkelshteyn closed this discussion on 25 Jun, 2019 09:36 PM.