With the release of Visual Studio 2012 and the improved Sharepoint integration, building, packaging and deploying your Sharepoint solutions became a lot easier.
Still if you want to get everything running on your build server, you’ve got some work to do. On your TFS 2012 Build server, the following components need to be installed:
-
If Visual Studio 2012 Professional (or above) is installed, install the following component
-
If Visual Studio 2012 Professional (or above) is NOT installed, you will need to collect build dependencies from a machine with the following product installed:
-
Visual Studio 2012 Professional (or above)
-
SharePoint Server 2013
-
Run the following PowerShell command to make sure your PowerShell execution policy is set to RemoteSigned or Rnrestricted: Set-ExecutionPolicy RemoteSigned
-
Run the script included in this release to collect the files: .\TfsBuildServerPrerequisites.ps1 –Collect
-
Copy the generated folder "Files" from the previous command and the OfficeToolsProjectToTfsBuildServer.ps1 script to your build machine, and execute the following: .\TfsBuildServerPrerequisites.ps1 –Install
-
-
If you are building apps for Sharepoint (Only needed when you want TFS to deploy the app package after building the project. Not required for apps for Office)
-
If Visual Studio 2012 Professional (or above) is NOT installed, you will also need:
-
For provider-hosted apps for SharePoint and apps for Office with web components, you also need to set up Web Deploy.