Wednesday, April 11, 2007

VS 2003 can't load Web projects and AssemblyKeyFile setting

Recently I install VS 2005 on my computer and found out some existing VS 2003 project could not find AssemblyKeyFile and the web projects could not be load.

After I delete VS 2003 web cache file from the following folder, the web projects get loaded.
C:\Documents and Settings\cguo\VSWebCache

Some other dll projecys has compile error:
error CS1548: Cryptographic failure while signing assembly '...' -- 'Error reading key file '...' -- The system cannot find the file specified.

The setting in AssemblyInfo.cs has one KeyFile setting, the file is using related path to solution, after I change to related path to project file, the error gone.

No comments: