在我的 react native windows 项目目录中运行 npx npx react-native run-windows
后,出现错误
× Building Solution: D:\Code\Visual Studio\IDE\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.WindowsSDK.targets(46,5):...
× Build failed with message Building Solution returned error code 1. Check your build configuration.
我检查了开发依赖项
Set-ExecutionPolicy Unrestricted -Scope Process -Force;
和
iex (New-Object System.Net.WebClient).DownloadString('https://aka.ms/rnw-deps.ps1')
,很好