vcvarsall.bat fails for newly installed Visual Studio 2017

When you open VS2015 Command Prompt from a newly installed instance of Visual Studio 2017 Community, the prompt fails to intialise the variables. Telling you to ‘make sure either Visual Studio or C++ Build SKU is installed’. Searching the Internet, this seems to be a known and persisting issue. Here I propose an elegant workaround for it.

文章来源:

Author:Gee Law’s Blog
link:https://geelaw.blog/entries/vs2017-vcvarsall-fails/?utm_source=feed&utm_medium=rss