我可以在没有 Visual Studio 的情况下使用 Visual C++ 编译器吗?
有什么方法可以让我从命令行使用 Visual C 或 Visual C++ 编译器而无需安装 Visual Studio?
Is there any way that I can use Visual C or Visual C++ compilers from the command line without having to install visual studio?
我以前试过,但找不到.寻求帮助.
I have tried it before, and I couldn't find one. Seeking help.
可以,例如 Windows SDK 自带 Visual C++ 编译器,但不包含 Visual Studio,快速搜索发现 此 msdn 页面.
Yes you can, for example Windows SDK comes with a Visual C++ compiler, but it doesn't contain Visual Studio, a quick search found this msdn page.
来自 Microsoft 的 LE出色"决定:似乎 较新的 Windows SDK 不附带编译器,因此您需要安装 Visual Studio 才能从命令行使用.
LE "brilliant" decision from Microsoft: it seems that newer Windows SDK doesn't come with compilers, so you need to install Visual Studio to have what to use from command line.