运行 VS 2022 的开发人员命令提示符
以前,我没有收到此错误。
尝试使用管理员修改快捷方式启动器后,会发生此错误。回滚启动器的路径和命令,保留此错误。
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.3
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
The system cannot find the file specified.
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools>
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题?
我已经读过这个SO 答案,但就我而言,已经没有AutoRun
.
从cmd打开.bat
文件也不起作用。
PS C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools> VsDevCmd.bat
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.3
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
The system cannot find the file specified.
Run Code Online (Sandbox Code Playgroud)