0

when i try to create a resource file named Labels.resx it works fine and a Labels.designer.cs being created well, but when i try to create another resource file for a specific locale like Labels.en-US.resx the resource file gets corrupted and the designer will be empty!

[Edit from comments]: The resource generator specified for the .resx file is GlobalResourceProxyGenerator

whats wrong with it? am I doing anything wrong?

7
  • try "Labels.en.resx" Commented Feb 11, 2017 at 20:47
  • It didn't make change @levent Commented Feb 11, 2017 at 23:04
  • Can you check in properties of the resx file what tool is specified there? I think you can also Run custom tool and see if any error shows in output (most probable cause of designer.cs file remaining empty) Commented Feb 12, 2017 at 8:25
  • it's GlobalResourceProxyGenerator @Alexei Commented Feb 12, 2017 at 11:50
  • 1
    @Hooman - is there a particular reason to use GlobalResourceProxyGenerator? I have always generated resource files using PublicResXFileCodeGenerator and had no problems. Commented Feb 12, 2017 at 12:16

1 Answer 1

1

Based on comments, the solution is to use another resource generator:

PublicResXFileCodeGenerator 

instead of

GlobalResourceProxyGenerator
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.