无法使用Visual Studio 2017 15.9.5安装程序(1.18.1089.1204)安装2015 ATL MFC支持 [英] Unable to install 2015 ATL MFC support using Visual Studio 2017 15.9.5 installer (1.18.1089.1204)

查看:211
本文介绍了无法使用Visual Studio 2017 15.9.5安装程序(1.18.1089.1204)安装2015 ATL MFC支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是我的Visual Studio 2017安装程序配置的导出:

Here is an export of my Visual Studio 2017 Installer config:

{

{




并注意我的C:\Program Files (x86)\ Microsoft Visual Studio 14.0\VC \atlmfc文件夹仍然缺失,因此我无法构建依赖于ATL& MFC。

and note that my C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc folder is still missing so I'm unable to build 2015 projects which depend on ATL & MFC.




推荐答案

Hi mtsmith,

欢迎来到MSDN论坛。

你是如何在你身边安装MFC / ATL的?安装过程中是否有任何错误提示?


  • 在视觉中Studio 2015,Visual C ++是一个可选组件,MFC和ATL组件是Visual C ++下的可选子组件。如果在第一次安装
    Visual Studio时未选择这些组件,则在第一次尝试创建或打开MFC或ATL项目时,系统将提示您安装它们。
  • 在Visual Studio 2017及更高版本中,MFC和ATL是使用C ++进行桌面开发下的可选子组件  ; Visual Studio Installer程序中的工作负载。您可以在没有MFC的情况下安装
    ATL支持,或者组合MFC和ATL支持(MFC依赖于ATL)。 
  • In Visual Studio 2015, Visual C++ is an optional component, and MFC and ATL components are optional sub-components under Visual C++. If you do not select these components when you first install Visual Studio, you will be prompted to install them the first time you attempt to create or open an MFC or ATL project.
  • In Visual Studio 2017 and later, MFC and ATL are optional sub-components under the Desktop development with C++ workload in the Visual Studio Installer program. You can install ATL support without MFC, or combined MFC and ATL support (MFC depends on ATL). 

VS 2017修改对话框具有三个选项卡,"工作负载","单个组件"和"语言包"。点击"个别组件"然后向下滚动到标题为"SDKs,libraries和frameworks"的
部分。这是您安装的最后一部分。应该有一个"MFC和ATL支持(x86和x64)"的条目。附近有一个复选框。
选择它。

到目前为止,我无法重复你的问题,因为在我身边,我可以安装工作量和组件,创建一个新的ATL项目。此外,我检查了路径C:\Program Files
(x86)\ Microsoft Visual Studio 14.0\VC\atlmfc。替换它的路径是
C:\Program Files(x86)\ Mesrosoft Visual Studio \\\ 2017 \ Communmunity\VC \Tools\MSVC\14.16.27023\atlmfc
在我身边。所以你能再次检查吗。

So far, I cannot repro your issue, because in my side, I could install the workload and component, create a new ATL project fine. Besides, I checked the path C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc. Replace it that the path is C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\atlmfc in my side. So could you check it again.

在安装之前,您需要在Windows Update中安装所有挂起的修补程序,禁用防病毒软件,清理%temp%文件夹并以管理员身份运行安装程序。如果此问题仍然存在
,我需要您的帮助来收集安装日志。请使用 Microsoft Visual Studio和.NET Framework日志收集工具收集安装日志。使用它之后,你会在%temp%
文件夹下找到vslogs.zip。请将文件上传至 https://onedrive.live.com/ 并在此处分享链接。

Before installation, you need install all pending hotfixes in Windows Update, disable anti-virus software, clean-up %temp% folder and run installer as admin. If this issue still persists, I need your help to collect installation log. Please use the Microsoft Visual Studio and .NET Framework Log Collection Tool to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.

期待你的回复。

Br

可能


这篇关于无法使用Visual Studio 2017 15.9.5安装程序(1.18.1089.1204)安装2015 ATL MFC支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆