使用托管TFS池构建UWP应用程序时找不到SDK SQLite.UWP.2015 [英] Could not find SDK SQLite.UWP.2015 when building UWP application using Hosted TFS pool

查看:140
本文介绍了使用托管TFS池构建UWP应用程序时找不到SDK SQLite.UWP.2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Sqlite构建了UWP应用程序.在本地计算机上,我必须安装以下用于通用Windows平台的SQLite Visual Studio Extension来构建它.我遵循了此博客在UWP上使用sqlite时

I have build a UWP application using Sqlite. On my local machine I had to install the following SQLite for Universal Windows Platform Visual Studio Extension to get it to build. I followed this blog when using sqlite on UWP

我现在正在尝试与Visual Studio Team Services(是Team Foundation Server Online)实现持续集成.

I am now trying to implement Continuous integration with Visual Studio Team Services (was Team Foundation Server Online).

我正在使用托管池来构建我的应用程序,但收到以下消息:

I am using a Hosted pool to build my application but I get the following message:

C:\ Program文件 (x86)\ MSBuild \ 14.0 \ bin \ Microsoft.Common.CurrentVersion.targets(2049,5): 错误MSB3774:找不到SDK"SQLite.UWP.2015,版本= 3.12.2".

C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2049,5): error MSB3774: Could not find SDK "SQLite.UWP.2015, Version=3.12.2".

它破坏了构建.

如何在托管池上解决此问题?我没有对计算机的物理访问,因为这是由TFS在线管理的

How can I fix this on a hosted pool? I do not have physical access to the machine as this is managed by TFS online

发现这是一个通过我的本地计算机(通过Visual Studio Extension)安装的库,因此在我的托管计算机上不存在,这意味着引用已损坏,我正在尝试将各个文件添加到源代码管理中并对其进行引用直接从源代码管理.但是我不知道它实际上是在引用什么dll,因为它没有说.引用的属性如下:

After finding this is a library that is installed on my local machine (through the Visual Studio Extension) and so doesnt exist on my hosted machine meaning the reference is broken I am trying to add the respective files to source control and reference it directly from source control. But I have no idea what dll it is actually referencing as it doesnt say. The properties of the reference are as follows:

推荐答案

没有任何方法可以在Hosted Build Agent上安装扩展.

There isn't any way to install the extension on Hosted Build Agent.

问:您的构建是否依赖于该软件以外的其他软件? 安装在托管的构建资源上?

Q: Does your build depend on software other than this software that is installed on hosted build resources?

A:否.那么您可以使用托管池.

A: No. Then you can use the hosted pool.

这是在托管生成代理上安装的软件:

Here is the software installed on Hosted Build Agent: Software on the hosted build server.

解决方法是部署您自己的构建代理.使用此构建代理,您可以安装要构建项目的软件.

The work around is deploy your own build agent. With this build agent, you can install the software you want to build your project.

这篇关于使用托管TFS池构建UWP应用程序时找不到SDK SQLite.UWP.2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆