Friday, January 04, 2008

Microsoft.Office.Workflow.Feature file not found

This comes from: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1692100&SiteID=1

Found out it was to do with the Visual Studio templates.

There are 2 sets of templates:

  • Windows SharePoint Service (WSS 3.0)
  • Microsoft Office SharePoint Server (MOSS 2007)

If you are developing on a WSS 3.0 box and you try and use a MOSS template then it adds a reference to the "Microsoft.Office.Workflow.Feature" namespace (which is part of the "Microsoft.Office" set of files that come with MOSS.

Change to the correct templates

Otherwise you can just remove those ReceiverAssembly and ReceiverClass references from your Feature.XML and you should find it works just fine.

The Feature.xml should then look like:

<Feature Id="xxxxx"
Title="My Workflow Feature"
Description="This Feature encapsulates the custom workflow"
Version="12.0.0.0"
Scope="Site"
xmlns="http://schemas.microsoft.com/sharepoint/">

No comments:

Post a Comment