UWP建立在詹金斯

Joe*_*gel 2 .net c# continuous-integration jenkins uwp

我正在尝试在Jenkins上构建一个C#UWP,但是我收到以下错误:

XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'
Run Code Online (Sandbox Code Playgroud)

构建工具2015和VS2015都安装在Jenkins服务器上,构建脚本定位到MSbuild的版本14

Pau*_*tts 6

直接用于UWP应用程序的版本控制的干净源代码树需要运行NuGet来查找project.json文件中指定的依赖项.

作为开发人员,这是Visual Studio 2015通常为您所做的事情.

在构建服务器上,您将需要运行命令行NuGet 3.x可执行文件,以便在构建运行之前在构建计算机上下拉所有依赖项(MSBuild部分).

转到http://dist.nuget.org/index.html以获取命令行NuGet.exe.

该命令将具有以下形式nuget.exe restore [MyApp.sln].