无法使用React Native运行Windows应用

时间:2018-08-10 12:23:15

标签: reactjs react-native

我正在使用可视代码运行React Native Windows应用程序。但是我遇到了以下给定的错误。

....
Build configuration: Debug
Build platform: x86
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1809,3): error MSB4019:
 The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\
WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Impo
rt> declaration is correct, and that the file exists on disk. [D:\MobileWorkSpace\RN_Mobile_App\cAp
pTypeScript\node_modules\react-native-windows\Yoga\csharp\Yoga\Yoga.Universal.vcxproj]
Build failed with message Error: Command failed: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Profe
ssional\MSBuild\15.0\Bin\msbuild.exe" "D:/MobileWorkSpace/RN_Mobile_App/cAppTypeScript/windows/cAppT
ypeScript.sln" /clp:NoSummary;NoItemAndPropertyList;Verbosity=quiet /nologo /p:Configuration=Debug /p:Platf
orm=x86 /p:AppxBundle=Never /p:PlatformToolset=v141 /p:VisualStudioVersion=15.0. Check your build configura
tion.

0 个答案:

没有答案