如何在TFS构建中包括“扩展或更新"作为依赖项? [英] How to include an 'Extension or Update' as a dependency in a TFS build?

查看:85
本文介绍了如何在TFS构建中包括“扩展或更新"作为依赖项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个我希望通过TFS2013构建的项目,由于在构建代理上对SQLite的依赖,该项目失败了,特别是:

I have a project I wish to build via TFS2013 which is failing due to a dependency on SQLite on the build agent, specially:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (1728): Could not find SDK "SQLite.WinRT, Version=3.8.4.3".

如果这是一个nuget程序包,很好,我可以包含程序包文件夹,使用自动程序包还原等,但是在这种情况下,SQLite依赖项是通过扩展名& Visual Studio中的更新"部分.

If this was a nuget package, fine, I could include the packages folder, use automated package restore etc, but in this case, the SQLite dependency is installed via the 'Extensions & Updates' section in Visual Studio.

我的问题是,如何为TFS提供这种依赖关系以使其能够找到引用?

My question is this, how can I provide such a dependency to TFS to allow it to find the reference?

我可以简单地将vsix文件包括在dependencies文件夹中吗?还是真的需要安装VS并通过该插件安装扩展程序?我真的希望在这里避免第二种选择.

Can I simply include the vsix file in a dependencies folder? Or do I really need to install VS and install the extension via that? I'd really hope to avoid the second option here.

其他人以前遇到过这个问题吗?

Has anyone else hit this problem before?

推荐答案

我认为您需要做的是安装Visual Studio和Visual Studio扩展.

I would think Install Visual Studio and Visual studio extension is what you need to do.

如果您考虑一下,扩展将成为开发环境的一部分.在构建过程中,您无需更改开发工具/开发环境.

If you think about it, extensions form part of the development environment. You don't change your dev tools / development environments as part of your build process.

这篇关于如何在TFS构建中包括“扩展或更新"作为依赖项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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