This project has moved. For the latest updates, please go here.

Detecting code references in UWP

Aug 6, 2015 at 11:59 PM
In a UWP I have keys defined like so:


Which is used in a text block with x:Uid=TextblockUid"

I'm having an issue in detecting code references with this as


Won't detect the references as they also contain the property name.

What's the best way to work around this?
Aug 13, 2015 at 3:04 PM
The best way would be to use <TextBlock Text="{x:Static p:Ressources.XYZ}" /> like in WPF.
This also gives you compiler errors if you are accessing a non-existing resource.