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

See Also

Tasks

How to: Create Signed Friend Assemblies

Reference

/keyfile

/keycontainer

/delaysign

Other Resources

Visual Basic Compiler