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
To correct this error
- Use the /keyfile, /keycontainer, or /delaysign Visual Basic compiler options instead of the AssemblyKeyFileAttribute, AssemblyKeyNameAttribute, or AssemblyDelaySignAttribute attributes in your code.
See Also
Tasks
How to: Create Signed Friend Assemblies