I found the most complete workaround write-up on this issue on the Visual Studio SharePoint Tools Blog by Roger Best. Here is his writeup in full (in case the link stops working one day..)
"Getting Visual Studio 2008 SharePoint 2007 Sequential / State Machine Workflow projects working with Windows SharePoint Services 3.0
Published 19 August 08 02:18 PMI wanted to create a SharePoint workflow using VS 2008 on WSS 3.0. The documentation is set that only Microsoft Office SharePoint Server 2007 can be used but I figured I would lay out the modifications needed to allow a project to function on WSS 3.0. The four steps are:
1.) Since WSS 3.0 doesn't have a docs site and the wizard is particular about specific "sites" we need to change http://machinename/docs to http://machinename.
If not you will get the message:
"SharePoint site location entered is not valid. The SharePoint site at http://
/Docs could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application." Go ahead and finish wizard with what you need. Once the project has been created
2.) Remove the reference to Microsoft.Office.Workflow.Tasks
Now depending if you are coding in VB or C# you should
3a.) C# open workflow1.cs code editor and remove "using Microsoft.Office.Workflow.Utility;"
or
3b.) VB remove import of Microsoft.Office.Workflow.utility.
4.) Now we have to remove some xml from the feature.xml file specifically
- ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
- ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver"
Now you should be able to debug the project .
Roger Best"
refs:
- http://blogs.msdn.com/vssharepointtoolsblog/archive/2008/08/19/getting-visual-studio-2008-sharepoint-2007-sequential-state-machine-workflow-projects-working-with-windows-sharepoint-services-3-0.aspx
- http://www.sheltonblog.com/archive/2007/10/05/sharepoint-document-workflow-with-visual-studio-workshop-documents-download.aspx
another day, another lesson.
No comments:
Post a Comment
firstly, thanks in advance for your comment - I don't get very many, so I'm sure to follow up if you leave me a way - secondly, come again.