已经安装了最新的 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 命令行下没这个问题