Building SPSF solution projects on TFS 2012 build server

Oct 10, 2013 at 10:35 AM
Hi,

Has anyone tried to build SPSF solutions in TFS Build Server ? If so, what are the steps required ?

Kind regards,

Bruno
Coordinator
Oct 27, 2013 at 6:55 PM
Hi Bruno,

SPSF solutions are ordinary SharePoint projects. So you can build them as you would with any other SharePoint project by setting the build parameter /p:IsPackaging=true

To get everything into a neat deployment package with the SPSD deployment project as you have on local build, some post build commands are required to copy everything into place. The deployment project has already a build dependency to all SharePoint projects and will be build last.

I have already the necessary build commands and will add them to the next release along with an updated deployment project.

BR
Matthias
Aug 25, 2014 at 3:24 PM
Hi Matthias,

you said:
have already the necessary build commands and will add them to the next release along with an updated deployment project.
Did you put those files somewhere?

Best regards,
Daniel
Coordinator
Aug 25, 2014 at 9:46 PM
Sorry about that. Time flew by quicker than hoped...

I checked in the current code of SPSD, the sister project for deployment at https://github.com/rencoreab/SharePoint-Solution-Deployer

In https://github.com/rencoreab/SharePoint-Solution-Deployer/blob/master/SPSD.VisualStudio.Template/Build/SPSD.targets
You can find the targets which need to be integrated in your deployment.csproj file in order to build the package locally and in TeamBuild.

Note, the VS Template is still work in progress.