A Practical Guide to SharePoint 2013

A Practical Guide to SharePoint 2013
A Practical Guide to SharePoint 2013 - Book by Saifullah Shafiq

Wednesday, August 24, 2011

Automating SharePoint configuration with MSBuild and SAF(Via Mark)

Extract from the original post

One of the major areas developed for v2 of the SharePoint Action Framework (SAF) is its ability to integrate tightly with Msbuild. In order to get SAF working, you simply need to reference the Msbuild Saf task - which can be referenced like this :

AssemblyName="Collaboris.Saf, Version=2.0.0.0, Culture=neutral,

PublicKeyToken=182db3eac6a9e195"

TaskName="Collaboris.Saf.Adapters.MSBuild.SAF" />

You may also choose to create a couple of targets (one for the Undo and one for the Do) - like this - but this is optional.

ProcessMode="Do"

ContinueOnError="false" />

ProcessMode="Undo"

ContinueOnError="false" />

Now this is setup, you then need to create a few item groups where all the properties can be passed to.

Complete post here.