Show/Hide Toolbars

XSharp

Option 'option' overrides attribute 'attribute' given in a source file or added module

 

This warning occurs if the assembly attributes AssemblyKeyFileAttribute or AssemblyKeyNameAttribute found in source conflict with the /keyfile or /keycontainer command line option or key file name or key container specified in the Project Properties.

 

For the example below, assume you have a key file named XS1616.snk. This file could be generated with the command line:

 

 

sn –k XS1616.snk  

 

The following sample generates XS1616:

 

 

// XS1616.prg  
// compile with: /keyfile:XS1616.snk