Current behavior
Somehow Xaml Compiler does not find a Property in a DataTemplate Definition there, but its not altering from all the other DataTemplate Definitions, imported as ResourceDictionary and should be fine...


Expected behavior
Should not throw issue?
How to reproduce it (as minimally and precisely as possible)
Build the app from this commit: 50db97b
(will apply workaround meanwile I dont know the problem source at later commits)
Workaround
Do not target:
- WinAppSdk - Unpackaged
Debug Build Result:

- WinAppSdk - Packaged
Debug Build Result:

(in both cases, the x:DataType in ResourcesDictionary is not found)
Environment
Windows 11 Pro
NuGet package version(s)
No response
Affected platforms
Build tasks
IDE
Visual Studio 2022
IDE version
Visual Studio 17.13.6 - still there in 17.14.9
Metadata
Relevant Issue(s):