C++/WinRT basic two way binding error.

Ryan Gallagher 21 Reputation points
2021-12-03T06:30:19.727+00:00

Error C3779 'winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler::operator ()': a function that returns 'auto' cannot be used before it is defined MVVMTest C:\Users\synap\source\repos\MVVMTest\MVVMTest\Generated Files\winrt\base.h 5762

Built a basic project using the new Windows App SDK and I get this error when I try to build. I followed the instructions in the Binding in depth found in the docs and put everything on the main page as I could not get the full setup with the HostViewModel working. What am I implementing incorrectly?

This is a very simple setup so there is not much code to look at.

Thank you ahead of time.

Link to git:
https://github.com/synapse187/MVVMTest.git

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
725 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
{count} votes