windows - 无法还原 NuGet 包:错误:找不到 MSBuild 工具
问题描述
我正在尝试开始React Native For Windows
工作,但我在安装所需的依赖项时遇到了困难。我已经安装了 Visual Studio 并安装了所需的依赖项
我跑步时出现以下Failed to restore the NuGet packages: Error: MSBuild tools not found. Make sure all required components have been installed (e.g. v141 support)
错误
npx react-native run-windows
我发现了有关此https://github.com/microsoft/react-native-windows/issues/3263的问题,但该解决方案对我不起作用我已经安装了与此相关的所有内容
我的电脑上安装了nodejs。
我正在使用推荐版本的 React Native
解决方案
看起来您没有在 VS 安装程序中选择桌面开发工作负载。看到这个: 依赖
推荐阅读
- git - git config 如何在同一台服务器上使用 2 个用户名
- r - R - saemixData 函数在函数环境中找不到数据“文件错误(文件,“rt”):无法打开连接”
- python - 使用 `setup.py` + `pip` 跨平台支持`data_files`
- javascript - AngularJS DateRangePicker CSS不起作用
- oracle - 如何在 oracle sql developer 中选择昨天从 12 AM 到 6 AM 以及从 11 PM 到 12 AM 的记录?
- sql - 将行转换为列,将列转换为没有枢轴的行
- c - strcpy() 函数参数
- asp.net - angular js:ng-class 使用
- apktool - 使用 cmd "java -jar apktool.jar b D:\smali > nul" 获取 apk
- opencv - 改进 python opencv 中特定颜色的圆形检测