Local Windows 7 machine placed in Aalborg:
...
Windows Phone 8.0 SDK can't be installed on Windows 7 - but should be able to be installed on Windows Server 2012
- You can install Windows Phone SDK 8.0 on computers running Windows Server 2012 or Windows Server 2008 R2 to use Visual Studio Team Foundation Build to build existing apps. However, you cannot develop or debug Windows Phone apps on Windows Server editions, even with the Windows Phone SDK installed. (Source: https://msdn.microsoft.com/en-us/library/windows/apps/ff928362(v=vs.105).aspx)
For building on Jenkins with MSBuild: http://marcofranssen.nl/ci-with-jenkins-msbuild-nuget-and-git-part-4/
Setup master and slave Jenkins: https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines
Required for building
- Windows Phone 8.0 SDK
- Portable Library Tools 2 .NET Framework 4.5- Install with command "portablelibrarytools.exe /buildmachine"
- Windows Software Development Kit for Windows 8 - https://dev.windows.com/en-us/downloads/windows-8-sdk
- nuget
- pscp
- git
Restore NuGet from packages.config file in project dir
- Command: nuget.exe install packages.config
Jenkins build script located in the autobuild repo on gitlab - jenkins_build_wp.bat
- The path to the build.config file needs to be changed to a folder in building project - Right now we are using a dummy
To do list:
- Setup Windows Build server
- Make current build server master and new build server slave
- Build project local on build server
- Build project on jenkins from slave
Helpful links
- Build .net application on Jenkins using MSBuild: http://stackoverflow.com/questions/10227967/build-net-application-in-jenkins-using-msbuild