I am basically trying to embed the game window into an XAML view.
I have tried creating the VS19 project template “MonoGame Windows Universal Application (XAML)”, but the csproject of the template is Unsupported, visual studio unable to open the project essentially.
I have also tried looking at the code and using it, but the main function being MonoGame.Framework.XamlGame<T>.Create(...)
which I am unable to find within the Monogame.Framework, neither in the API documentation. I have found a reference here https://docs.monogame.net/articles/platforms/UWP.html but maybe it is outdated. I have tried importing all nugets available without success of finding such XamlGame object.
I am a bit lost, and would appreciate help, since I believe it must not be that hard, just that I am not used to MonoGame yet. So far I have not been able to inject in any of the templates the game window into an XAML view. I am using VS19 and I target .Net framework (maybe that’s the issue?).
I would appreciate any help!!