Quantcast
Channel: ResX Resource Manager
Viewing all articles
Browse latest Browse all 2435

Edited Unassigned: Detect code references feature doesn't work if resource is used through the alias [4754]

$
0
0
Hi!
I have a separate project with resources.
To avoid long strings in code I use aliases.

Instead of
var message = MyDictionary.Resources.MessageGetAvailavleAmount;

I use:
using Res = MyDictionary.Resources;

...
var message = Res.MessageGetAvailavleAmount;

But in this case "Detect code references" feature doesn't detect using of this resource.

Thank you

Viewing all articles
Browse latest Browse all 2435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>