可以将vsct.exe复制到构建计算机吗? [英] Any possibility to copy vsct.exe over to a build machine?

查看:50
本文介绍了可以将vsct.exe复制到构建计算机吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我们有一个客户,其严格要求是在不允许安装Visual Studio的构建环境上启用VS插件的构建.到目前为止,我了解到我们可以创建自己的本地工具来生成VSIX清单和PkgDef 文件(尤其是考虑到我们需要为手边的任务提供支持的选项数量有限).组装VSIX捆绑包本身似乎也不成问题,因为它基本上是一个.zip文件,并且在归档文件中添加了特殊文件Content_Types.xml. 内容.

We have a customer whose strict requirement is to enable building VS plug-ins on a build environment where installing Visual Studio is not an option. So far I gather that we could create our own homegrown tools for generating the VSIX manifest and the PkgDef file (especially given the limited number of options that we need to support for the task at hand). Assembling the VSIX bundle itself does not seem to be a problem either, as it is basically a .zip file with a special file Content_Types.xml added to the archive contents.

但是,Visual Studio Command Table编译器仍然看起来像是一个挑战,因为如果不进行逆向工程(这显然是非法的),就不能轻易地复制它.而且我们也不能使用原始的vsct.exe 不是列入清单"在BUILDSERVER.TXT列表中.

However the Visual Studio Command Table compiler still looks like a challenge, since it's not something that can be easily replicated without reverse engineering (and that would be obviously illegal). And neither can we use the original vsct.exe since it is not "whilelisted" in the BUILDSERVER.TXT list.

我们当然可以先编译一次命令表,然后将编译后的版本存储在源代码控制系统中(假设命令表不经常更改,并且可以接受相关的手动负担),但是也许有一些选择 在不违反Visual Studio EULA的生成服务器上使用vsct.exe?

We could of course resort to compiling the command tables once and then storing the compiled version in the source control system (assuming the command tables do not change often, and the involved manual burden is acceptable), but perhaps there is some option to use vsct.exe on a build server that does not violate the Visual Studio EULA?

推荐答案

您知道可以使用Microsoft吗?在构建服务器(而不是安装VS 2015)上构建工具2015,并在VSX项目上构建NuGet,以在构建计算机上获取VSSDK,并避免重新发明所有这些步骤?也就是说,您不需要 在构建服务器上安装Vs 2015或VSSDK.

Are you aware that you can use Microsoft Build Tools 2015 on your build server (instead of installing VS 2015) and NuGet on your VSX project to get the VSSDK on the build machine and avoid all those steps that you are reinventing? That is, you don't need to install Vs 2015 nor the VSSDK on the build server.

NuGet VSSDK:

NuGet VSSDK:

http://www.nuget.org/packages/Microsoft.VSSDK.BuildTools/15.0.26109-RC3

http://www.nuget.org/packages/Microsoft.VSSDK.BuildTools/15.0.26109-RC3


这篇关于可以将vsct.exe复制到构建计算机吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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