Seiten

Montag, 7. Mai 2012

NullReferenceException when deploying Sharepoint feature from Visual Studio...

... but not when you deploy it from the Sharepoint web interface. Its likely that you use SPContext somewhere. Instead you should use the SPFeatureReceiverProperties exclusively to obtain the current site or web.


1 Kommentar:

  1. I know this is probably not the intention of comments, but I was not able to find your contact, so I am trying this...

    I saw one of your posts on stackoverflow and want some additional explanations. If you see this and would like to help, I would appreciate an answer on: http://stackoverflow.com/questions/15399327/how-to-display-a-specific-folder-in-a-document-library-within-a-webpart-in-shar

    AntwortenLöschen