Closed ChrisGuzak closed 1 year ago
this is an RNW bug that has already been fixed https://github.com/microsoft/react-native-windows/issues/9559 so the project needs to update to a newer version of RNW
@asklar thanks! how do I update to the newer RNW? is that something I should try?
I updated the title. this is in the example in this project. example/windows/example.sln
Problem Description
5>------ Build started: Project: Microsoft.ReactNative, Configuration: Debug x64 ------ 5>C:\Users\chrisg.NTDEV\source\repos\react-native-xaml\node_modules\react-native-windows\Mso\dispatchQueue\dispatchQueue.h(728,17): error C2338: static_assert failed: 'Mso::MustBeNoExceptVoidFunctor: not a noexcept callable functor returning void' 5>C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets(486,5): error MSB4181: The "CompileXaml" task returned false but did not log an error.
Steps To Reproduce
this is compiling pch\pch.cpp
Note, I upgraded the toolset to v143, but I saw the same error when I tried to build with v140 so don't think this is specific to the toolset.
Expected Results
build works
Environment