Use command line option '<option>' or appropriate project settings instead of '<parameter>'
The preferred way to specify a file that contains a public key for an assembly, a public-key container for an assembly, or a partial-signed assembly is to use the Visual Basic compiler options. We do not recommend use of the AssemblyKeyFileAttribute, AssemblyKeyNameAttribute, or AssemblyDelaySignAttribute attributes in your code.
Error ID: BC41008
- Use the -keyfile, -keycontainer, or -delaysignVisual Basic compiler options instead of the AssemblyKeyFileAttribute, AssemblyKeyNameAttribute, or AssemblyDelaySignAttribute attributes in your code.
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: