VS 2017的开发人员命令提示符给出了奇怪的错误。 [英] Developer Command Prompt for VS 2017 Giving Weird Errors.

查看:77
本文介绍了VS 2017的开发人员命令提示符给出了奇怪的错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开Visual Studio 2017的开发人员命令提示符时,我会收到这些奇怪的错误,我该如何修复它们?
b

https://imgur.com/ a / GEfO3

解决方案

您好Tyler,


感谢您在MSDN论坛上发帖。


对于 屏幕截图错误消息,有两个方面导致此问题:


1。 VS安装不好,VsDevCmd无法正常运行。


2。您的计算机环境变量设置不正确。


要确定原因,请尝试以下步骤:


1。导航到 路径:



C:\Program Files(x86)\ Microsoft Visual Studio \\ \ 2017 \ *** \共享7 \工具


(***是您的VS版:企业,专业人士或社区)。


2。找到VsDevCmd文件并执行以查看它是否显示详细错误。如果有,请告诉我们错误信息。或者您可以按照错误进行故障排除。


3。运行VS安装程序以修复和更新,重新启动计算机。


4。检查Windows更新并安装最新的补丁。


  5。启动开发人员命令提示,看看它是否正常工作。


最好的问候,




When I open the Developer Command Prompt for Visual Studio 2017 I get these weird errors, how can I fix them?

https://imgur.com/a/GEfO3

解决方案

Hi Tyler,

Thank you for posting in MSDN forum.

For the screenshot error message, there are two aspects caused this:

1. VS didn't install well, the VsDevCmd can't run properly.

2. Your computer environment variable setting is incorrect.

To determine the reason, please try steps below:

1. Navigate to path:

C:\Program Files (x86)\Microsoft Visual Studio\2017\***\Common7\Tools

(*** is your VS edition: Enterprise, professional or community).

2. Find VsDevCmd file and execute to see if it shows detailed error. if there is, please tell us the error info. Or you could follow the error to troubleshoot.

3. Run the VS installer to repair and update, reboot your machine.

4. Check windows update and install newest patches.

 5. Launch  Developer Command Prompt to see if it works fine.

Best Regards,


这篇关于VS 2017的开发人员命令提示符给出了奇怪的错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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