Reputation: 412
I'm trying to localize my display name attribute but "ResourceType" can't find my resource file. Resource file is directly in my solution.
Also set my access modifier to public but still not working.
I can't even see it.
Upvotes: 1
Views: 212
Reputation: 3035
It appears the issue is that you are specifying a locale for the resource file without having a default one present in your solution.
DisplayName.resx
would be the default language of your application and is needed for the resolution mechanism to work
DisplayName.<locale code>.resx
will then override the default locale resources for that particular locale.
Upvotes: 1