-
Notifications
You must be signed in to change notification settings - Fork 469
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
Allow specifying access modifier for ResxSourceGenerator generated code #7367
Comments
@jeremy-visionaid hello. I don't get how can I get an autogenerated file as public. Can you please help me? |
@alexspirou Take a look at Andrew Arnott's article here:
|
@jeremy-visionaid Thanks a lot. One more question. Do you know if there is a way to not generated the file as a static class? |
@alexspirou I don't believe so, but I provided everything you should need to check for yourself. |
@alexspirou Though I thought that sounded familiar: #7332 |
|
I'd like to add Microsoft.CodeAnalysis.ResxSourceGenerator to an existing project, but the project is currently using PublicResXFileCodeGenerator, and ResxSourceGenerator appears to be hard-coded to use "internal". Would be great to add a configuration option to specify the desired access modifier.
The text was updated successfully, but these errors were encountered: