Saturday, 5 January 2008

Where is my PostBuildActions.Bat file GRRR

This is from Scott Guthrie:

Microsoft called me at work and confirmed that, out of the box, VS 2008's new Build/Deploy option will not support deployment of InfoPath workflow forms (intialization, association, task, modfication) required by a SharePoint workflow project. VS 2005, via add-ons created by Microsoft, supported deployment of those forms, as long as they were published to the DeploymentFiles\FeatureFiles subdirectory. To bring VS 2008 to the same level of support as VS 2005 provides, I was told that I would have to (1) manually create the same directory structure as VS 2005 uses, immediately after creating the new Project of type SharePoint workflow, (2) move workflow.xml and feature.xml from where they were originally created to the DeploymentFiles\FeatureFiles subdirectory, (3) borrow a copy of PostBuildActions.bat from an older VS 2005 project and make extensive (but unspecified) changes to it comment/remove lines that duplicate the functionality of the Build/Deploy menu item.

Developers will have to decide for themselves if the gains outweigh the losses when it comes to using VS 2008 for creating SharePoint workflow projects. I have sent Microsoft a revised edition of my analysis of this situation.

Until and unless enough developers demand that VS 2008 provide at least as much support for SharePoint workflow development that includes InfoPath task forms as VS 2005 provides, there is no way to tell when VS 2008 will be the equal of VS 2005 in this particular area.