I 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://<machineName>/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;”
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=184.108.40.206, Culture=neutral, PublicKeyToken=71e9bce111e9429c”
Now you should be able to debug the project .