I just had a very strange error message in my visual studio 2010 SharePoint project…
When building the project everything goes well, but when packaging it or deploying it I got this error message:
“value cannot be null parameter name publickey”
Also, trying to open the package editor in visual studio to take a look at the “preview of packaged manifest” showed me the same error:
Google did not prove to be useful as I did not find anything close to this error message.
Well, in the interest of saving you time, let me just say that after some search around the project I found that the strong name signing of my project was missing the signature file (SNK), which produced an unsigned DLL, and as such – I guess caused this issue with the package building.
Hope this will at least save some time to anyone else out there,
Happy SharePointing!
Thank you - I was stumped - now I'm up and running again.
ReplyDeleteThanks for the post. Saved me some major time as I forgot to sign the assembly.
ReplyDeleteThanks for your post. Saved me some major time as I forgot to sign the assembly.
ReplyDeleteThank you.
ReplyDeleteIn my case I'd remove file key.snkm then I went to properties of project and create a new key without password. :)
Thank you for the post! very helpful :)
ReplyDeleteThank you for the post, very helpful :)
ReplyDeleteI had an snk file, but I had to select my project and: right click -> Properties -> Signing -> Choose a strong name key file -> enter my snk file name
ReplyDeleteThank you so much ! You save my time!
ReplyDelete-Vipul
Thanks Bro..
ReplyDeleteNeed to generate new key for project.