Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
marcelo #1
Member since Jul 2005 · 12 posts
Group memberships: Members
Show profile · Link to this post
Subject: error building the library
Yesterday I downloaded the source tree.

Trying to build the Desktop solution, VS fails with the following error
"Cryptographic failure while signing assembly 'E:\messaging-dev\ags\obj\Release\agsXMPP.dll' -- 'Error reading key file 'key.snk' -- The system cannot find the file specified. '"

I can see that file both in the main directory ( messaging-dev\ags, same where the .sln files reside ) and in messaging-dev\ags\bin\Windows\Debug.

Where I must copy the file to ?

Thank you
Avatar
marcelo #2
Member since Jul 2005 · 12 posts
Group memberships: Members
Show profile · Link to this post
Subject: sorry
Sorry.
Please discard the post.
Simply copied the key file to the target directory, and it compiled
Avatar
Alex #3
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
hi marcello,

the key is for signing the assembly. If you dont need it you could uncomment the line
[assembly: AssemblyKeyFile("key.snk")]
in AssemblyInfo.cs. Or put there an absolute path to the key. I have no idea what visual studio is doing here. Have the same problems too when compiling on different machines.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS