首页 新闻 会员 周边

编译 .net core corefx 源码 cmake 报错:"Could not create named generator Visual Studio 16 2019"

0
悬赏园豆:30 [待解决问题]

已经安装了最新的 cmake 3.14.3 ,但运行 build.cmd 命令编译 corefx 源码时总是报错

EXEC : CMake error : Could not create named generator Visual Studio 16 2019 [C:\Dev\github\corefx\src\Native\build-native.proj]
C:\Dev\github\corefx\src\Native\build-native.proj(50,5): error MSB3073: The command ""C:\Dev\github\corefx\src\Native\build-native.cmd" x64 Debug Windows_NT outconfig netcoreapp-Windows_NT-Debug-x64" exited with code 1.

请问如何解决?

问题补充:

问题出现在 Developer Command Prompt for VS 2019 命令行下,在 Developer Command Prompt for VS 2017 命令行下没这个问题

dudu的主页 dudu | 高人七级 | 园豆:31003
提问于:2019-05-02 10:38
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册