Tuesday, 22 November 2011

TimerJob part 1

I’m trying to create a timer job and I know I’m going to make every mistake in the book, so here is mistake one :

When you create the empty SharePoint project do NOT choose sandbox or you get this error:

The type or namespace name 'SPJobDefinition' does not exist in the namespace 'Microsoft.SharePoint.Administration' (are you missing an assembly reference?)

oh and BTW this seems to be the best guide so far to create a timerjob

http://blog.sharepointupshot.com/posts/category/developmentguides/403/

No comments:

Post a Comment