المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : problem with assigning a strong name to an assembly



C# Programming
01-23-2010, 03:22 AM
i'm trying to create a code group for CAS, i created a key file using sn.exe. and assigned that key to the assembly using

[assembly: AssemblyKeyFile(@"C:\caskey.snk")]


and built the project. but when i'm trying to create the code group using the strong name by importing the assembly file it says "The import failed. the assembly does not appear to be valid"

can any one tell me what might be wrong...