Visual Studio 2017: vcvars for toolset v140

前端 未结 4 1147
忘了有多久
忘了有多久 2021-02-09 06:35

I installed Visual Studio 2017 and toolsets v140 and v141. To work with v140 toolset, I need to set the necessary environment via vc

4条回答
  •  孤城傲影
    2021-02-09 07:14

    As stated in the Microsoft forums here modifying the vcvarsall.bat script seems to solve the issue with latest VS tool installed (it did for my installation)

    In case the link goes dead: the solution is to comment line 8 (or 10 depending if there are two blank lines at the beginning of the file)

提交回复
热议问题