Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

***.Designer.cs for .resx file doesn't update when using standalone ResXManager #525

Open
iant-ee opened this issue Jan 30, 2023 · 2 comments

Comments

@iant-ee
Copy link

iant-ee commented Jan 30, 2023

When I add a key to a resx file using the standalone version of ResXManager, the linked *.Designer.cs file isn't updated to reflect the change. When I make the same change using the Visual Studio extension it works file.

Visual Studio 2022 Version 17.4.3
ResXManager version 1.73.5614.0 (same version installed in Visual Studio and Standalone)

To Reproduce

  1. Open the standalone version of ResXManager
  2. Select a folder. I've chosen the folder that contains my solution.
  3. Choose an existing globalization file, we'll choose "Foo".
  4. Click + to add a new entry
  5. Save changes
  6. New entry is added to Foo.resx. No changes are made to Foo.Designer.cs

Expected behavior
6. New entry is added to both Foo.resx and Foo.Designer.cs

@tom-englert
Copy link
Collaborator

Both the ResxCodeGenerator and the TextTemplating engine are part of Visual Studio and not available in the standalone version, so there is not much I can do about this.

@iant-ee
Copy link
Author

iant-ee commented Jan 30, 2023

That's a shame. Unfortunately it means the standalone version isn't much help for my use case, but I can understand the problem if you're missing an essential dependency.

At least I know it's not just me. Thanks for your prompt response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants