UWP 基于 Jenkins 构建
UWP Build on Jenkins
我正在尝试在 Jenkins 上构建 C# UWP,但出现以下错误:
XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'
构建工具 2015 和 VS2015 都安装在 Jenkins 服务器上,构建脚本针对 MSbuild 版本 14
直接从 UWP 应用程序的版本控制中提取的干净源代码树需要 NuGet 运行 查找 project.json 文件中指定的依赖项。
作为开发者,这是 Visual Studio 2015 年通常为您做的事情。
在构建服务器上,您将需要 运行 命令行 NuGet 3.x 可执行文件,以便在构建之前在您的构建机器上提取所有依赖项 运行 s(MSBuild 部分)。
转到 http://dist.nuget.org/index.html 获取命令行 NuGet.exe。
命令的格式为nuget.exe restore [MyApp.sln]
。
我正在尝试在 Jenkins 上构建 C# UWP,但出现以下错误:
XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'
构建工具 2015 和 VS2015 都安装在 Jenkins 服务器上,构建脚本针对 MSbuild 版本 14
直接从 UWP 应用程序的版本控制中提取的干净源代码树需要 NuGet 运行 查找 project.json 文件中指定的依赖项。
作为开发者,这是 Visual Studio 2015 年通常为您做的事情。
在构建服务器上,您将需要 运行 命令行 NuGet 3.x 可执行文件,以便在构建之前在您的构建机器上提取所有依赖项 运行 s(MSBuild 部分)。
转到 http://dist.nuget.org/index.html 获取命令行 NuGet.exe。
命令的格式为nuget.exe restore [MyApp.sln]
。