.resx file in the shared project #904
PhilJollans
started this conversation in
General
Replies: 1 comment 1 reply
-
We moved to a shared project infrastructure recently in order to support the compatibility breaking changes in VS2022. I don't believe we have updated any of the resources yet since that switch over. Your understanding may be correct and something I wasn't aware of yet. I suppose the work-around would be to hand-edit the files instead of using the tooling? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This question isn't really about CodeMaid, but about how the CodeMaidShared project is used.
The CodeMaidShared project contains a resource file Resources.resx, and a code file Resources.resx.cs. The Custom Tool PublicResXFileCodeGenerator is associated with the .resx file.
In other types of projects, you can open the context menu on the .resx file and select "Run Custom Tool" to run the custom tool which generates the code file. In this project, the menu option "Run Custom Tool" is not present.
If I add a resource string to the file, the custom tool does not run automatically.
Do you have some method of generating the code file Resources.resx.cs in the shared project?
Is it possible, that you have not modified the resource file since moving it into the shared project?
My understanding, up to now, was that shared projects don't really support .resx files.
Phil
Beta Was this translation helpful? Give feedback.
All reactions