- Copy
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\{Web,WebApplications}
folders to build server - Update NuGet to newest version by running
C:\Program Files\Microsoft Team Foundation Server 12.0\Tools\nuget.exe update -self
- Install .Net Framework 3.5 Runtime from server manager
- Note: This should be optional, but my using StyleCop.MSBuild needs it.
- Install .Net Framework 4.5 Targeting Pack via install from Windows 8 SDK
- Note 1: DONOT install Windows 8.1 version, which includes .Net Framework 4.5.1 SDK
- Note 2: You can only download and install .Net Framework 4.5 SDK
- Note 3: After install .Net Framework SDK, you can uninstall Windows SDK from control panel
- Note 4: If you need more .Net Framework SDKs, install them from here
- Install test agent from here
- Note 1: This is for unit testing in build via Visual Studio Test Runner.
- Note 2: The download ISO contains test agent and test controller. Only install test agent is enough.
- Install Web Deploy 3.5
- Note 1: This is used for packaging applications
- Note 2: And for coutinous deployment to Azure Web Application
- Do restart the build server!
- Team Foundation Server 2013 Update 4 is used in my build server.
- I do Windows update on build server. It will install ASP.NET MVC 4 Runtime, which I have not tested to uninstall it.
- In my examination, Build Tool 2013 is not necessary.
- I only copied the necessary Reference Assemblies into
C:\Program Files (x86)\Reference Assemblies
as described in step 1. - My Public Assemblies folder inside
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\PublicAssemblies
is installed by installing test agent for VS2013 in step 5. - Code coverage never come, because only Visual Studio Premium or Ultimate enable this feature. (If you have workaround to get code coverage, please tell me.)