刚刚下载的Visual Studio 2017,它适用于Windows 10,但不适用于Windows 7,错误MSB6006,CL.exe ... [英] Just downloaded Visual Studio 2017, it works on Windows 10, but not on Windows 7, error MSB6006, CL.exe...

查看:98
本文介绍了刚刚下载的Visual Studio 2017,它适用于Windows 10,但不适用于Windows 7,错误MSB6006,CL.exe ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Windows 10和Windows 7上运行的两台计算机上下载并安装了Visual Studio 2017(社区)。

I just downloaded and installed Visual Studio 2017 (Community) on two machines running on Windows 10, and Windows 7.

在Windows 10上运行的计算机上,我打开一个新项目(Windows 桌面应用程序),构建和编译,一切都很好,它创建一个.EXE文件。

On the one running on Windows 10, I open a new project (Windows  Desktop Application), build and compile, all is fine, and it creates an .EXE file.

但是在运行Windows 7的那个上,我尝试了同样的事情它失败了,说:

But on the one running Windows 7, I try the same thing and it fails, saying:

1> ------ Build build:Project:WindowsProject1,Configuration:Debug Win32 ------

1>------ Build started: Project: WindowsProject1, Configuration: Debug Win32 ------

1> C:\ Program Program(x86)\ Microsoft Visual Studio \ 2017 \Community\Common7\IDE\VC \ VCTargets \ Microsoft.CppCommon.targets(254,5):错误MSB6006:"CL.exe"退出代码-1073741515。

1>完成构建项目"WindowsProject1.vcxproj" - 失败。

1>Done building project "WindowsProject1.vcxproj" -- FAILED.

==========构建:0成功,1失败,0最新,0跳过======== ==

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

发生了什么?

推荐答案

好吧,错误代码-1073741515是十六进制的0xC0000135。此格式的错误通常是NTSTATUS错误,此特定错误是STATUS_DLL_NOT_FOUND。这很可能意味着Visual Studio安装程序未在
Windows 7系统上成功完成,因此请尝试修复它。
Well, the error code -1073741515 is 0xC0000135 in hexadecimal. Errors of this format are normally NTSTATUS errors, and this particular error is STATUS_DLL_NOT_FOUND. This most likely means that the Visual Studio setup didn't complete successfully on the Windows 7 system, so try repairing it.


这篇关于刚刚下载的Visual Studio 2017,它适用于Windows 10,但不适用于Windows 7,错误MSB6006,CL.exe ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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