Create resource file.
Edit the .csproj file manually.
Search for the embedded resource tag that includes the *.resx file.
Change Generator child tag content to ‘PublicResXFileCodeGenerator’.
Apply “Move to resource”.
<ItemGroup> <EmbeddedResource Update="Resources/Resources.resx"> <Generator>PublicResXFileCodeGenerator</Generator> </EmbeddedResource> </ItemGroup>
References
https://youtrack.jetbrains.com/issue/RIDER-33587/Allow-to-change-access-modifier-of-resx-to-public