CS1548 occurs when assembly signing fails. This is usually due to an invalid key file name, an invalid key file path, or a corrupt key file.
To fully sign an assembly, you must provide a valid key file that contains information about the public and private keys. To delay sign an assembly, you must select the Delay sign only check box and provide a valid key file that contains information about the public key information. The private key is not necessary when an assembly is delay-signed.
For more information, see How to: Sign an Assembly (Visual Studio), /keyfile (Specify Strong Name Key File) (C# Compiler Options) and /delaysign (Delay Sign the Assembly) (C# Compiler Options).
When creating an assembly, the C# compiler calls into a utility called al.exe. If there is a failure in the assembly creation, the reason for the failure is reported by al.exe. See Al.exe Tool Errors and Warnings and search that topic for the text reported by the compiler in 'reason'.
Tasks
---
right click on the visual studio 2008\5 symbol
run as administrator
and try agian to give the private\public key to the assembly
let me know if it work to u...it did to me.
x:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
Hi, thanks for your posting. I tried to recompile the code that someone wrote 4 years ago. I uses .bat file to compile and i had the same error message as you described. I checked the privileges of the folder you mentioned above and it has full control but i still run into the problem. Your help would be appreciated. Thanks,