Visual Studio提供的 Command Prompt 到底有啥用

在上一篇博客中:
Virtual Studio 让系统找到需要的头文件和库

折腾了半天环境变量,把需要的环境变量扔到LIBINCLUDE 变量中,然而咱每次启动VS的时候,有几个黑框框,这是啥?

在这里插入图片描述
如果诸位早些时候用过 anaconda ,那就好说了,这就和他那个Anaconda Prompt 是一样儿一样儿滴

就是一个 cmd, 然后多了几个环境变量而已

Anaconda Prompt 就把 conda 那个目录添加到 %PATH% 中,有没有其他环境变量,我也不清楚…

咱随便开一个cmd,看看%LIB%%INCLUDE% 是什么:

> echo %LIB%
> # 下边的输出原来没回车,我加的

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\x64;
> echo %INCLUDE%
> # 下边的输出原来没回车,我加的

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared;

打开x64 Native Tools Command Prompt for VS 2019, 对,是就是博客开头那个截图

> echo %LIB%
> # 下边的输出原来没回车,我加的

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64;
C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\x64

可以看到那仨环境变量又重复了一遍,这个cmd的虚拟环境将需要的环境变量又添加了一波,看来咱之前添加对了hh

> echo %INCLUDE%
> # 下边的输出原来没回车,我加的

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt;
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared

可以看到前6行是需要添加的路径,后几行是咱之前添加的路径

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
windows management framework3.0 Git Command Line Package failed please correct the following problems to ensure full product functionality to learn more ,you can review the list of common issues and workarounds or examine the log file. Cordova 3.0 Plugin 安装 及"git" command line tool is not installed 根据http://docs.phonegap.com/en/edge/guide_cli_index.md.html#The%20Command-line%20Interface Windows命令行进入项目目录后,安装Plugin使用命令: phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git 不过对于Corova,应该是: cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git 但是提示错误: [Error: Error fetching plugin: Error: "git" command line tool is not installed: make sure it is accessible on your PATH.] 需要安装Git,参考: https://help.github.com/articles/set-up-git 但是下载时http://git-scm.com/downloads有墙,搜到:http://www.noanylove.com/2011/11/to-use-the-git-in-the-windows/ 下载地址是:https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git 安装Git时,我选了“Run Git from the Windows Command Prompt”,直接把Git路径设置好。 重新打开命令行窗口再试cordova plugin add就可以了。 Software/Tool Issue Android SDK The software is missing from your system. You may also have to configure it after installation. Instructions Git CLI The software is missing from your system. You may also have to configure it after installation. Instructions WebSocket4Net The software is missing from your system. You may also have to configure it after installation. Instructions After fixing these issues, please restart Visual Studio to ensure that changes have been applied. Software/Tool Issue Android SDK The software is missing from your system. You may also have to configure it after installation. Instructions Git CLI The software is missing from your system. You may also have to configure it after installation. Instructions WebSocket4Net The software is missing from your system. You may also have to configure it after installation. Instructions After fixing these issues, please restart Visual Studio to ensure that changes have been applied.
PowerCommands 1.1 is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE. The source code is included and requires the VS SDK for VS 2008 to allow modification of functionality or as a reference to create additional custom PowerCommand extensions. Below is a list of the included in PowerCommands for Visual Studio 2008 version 1.1. Refer to the Readme document for additional command details and screenshots. Enable/Disable PowerCommands in Options dialog This feature allows you to select which commands to enable in the Visual Studio IDE. Point to the Tools menu, then click Options. Expand the PowerCommands options, then click Commands. Check the commands you would like to enable. Note: All power commands are initially defaulted Enabled. Format document on save / Remove and Sort Usings on save The Format document on save option formats the tabs, spaces, and so on of the document being saved. It is equivalent to pointing to the Edit menu, clicking Advanced, and then clicking Format Document. The Remove and sort usings option removes unused using statements and sorts the remaining using statements in the document being saved. Note: The Remove and sort usings option is only available for C# documents. Note: Format document on save and Remove and sort usings both are initially defaulted OFF. Clear All Panes This command clears all output panes. It can be executed from the button on the toolbar of the Output window. Copy Path This command copies the full path of the currently selected item to the clipboard. It can be executed by right-clicking one of these nodes in the Solution Explorer: The solution node; A project node; Any project item node; Any folder. Email CodeSnippet To email the lines of text you select in the code editor, right-click anywhere in the editor and then click Email CodeSnippet. Insert Guid Attribute This command adds a Guid attribute to a selected class. From the code editor, right-c

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值