Compiler Error CS1906
Invalid option 'option'; Resource visibility must be either 'public' or 'private'
This error indicates an invalid Resources (Embed Resource File to Output) or LinkResources (Link to .NET Framework Resource) command line option. Check the syntax of the /resource or /linkresource command line option, and make sure that the accessibility modifier used is either public or private
.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: