I grabbed the project cpp-win32-unpackaged and added it to the Samples\CustomControls\CsWinRTAuthoringWinUI.sln
added WinUIComponentCs as a dependency to the cpp-win32-unpackaged
added a few includes to make it compiling
added some stuff to the manifest file
When running app I get:
Exception thrown at 0x00007FFB44FB5B0C (KernelBase.dll) in SimpleIslandApp.exe: WinRT originate error - 0x80004005 : 'Cannot find a resource with the given key: AcrylicBackgroundFillColorDefaultBrush.'.
I grabbed the project cpp-win32-unpackaged and added it to the Samples\CustomControls\CsWinRTAuthoringWinUI.sln
When running app I get: Exception thrown at 0x00007FFB44FB5B0C (KernelBase.dll) in SimpleIslandApp.exe: WinRT originate error - 0x80004005 : 'Cannot find a resource with the given key: AcrylicBackgroundFillColorDefaultBrush.'.
Here is the project https://github.com/tomaszkot/CsWinRTAuthoringWinUI