Skip to content

[DataTemplate][Windows] Property Not Found Exception at Styles/Generic.xaml #19977

@DevTKSS

Description

@DevTKSS

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...

Image
Image

Expected behavior

Should not throw issue?

How to reproduce it (as minimally and precisely as possible)

Build the app from this commit: DevTKSS/DevTKSS.Uno.SampleApps@50db97b

(will apply workaround meanwile I dont know the problem source at later commits)

Workaround

as they has been in the page resources that was not happening, so will revert those Refactoring to that central StaticResource as Workaround
Not Rebuild or Build Solution only run debug?

Works on UWP/WinUI

Debug Run target Desktop builds, but "(Re)build Solution" after "Clean Solution" does throw this issue only for the additional Windows target, which is not targeted by debug...

Image

Environment

No response

NuGet package version(s)

No response

Affected platforms

Build tasks

IDE

Visual Studio 2022

IDE version

17.13.6

Relevant plugins

No response

Anything else we need to know?

Added Assets/Samples/**.txt files which are containing xaml copyed code, which are throwing an Issue when used as UnoAsset available as BuildAction, but not documented? set them to Resources but dont know if thats the correct setting when I want to load them with IStorage at runtime and this could cause this issue also

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/externalCategorizes an issue or PR as being external to the Uno

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions