VSIX安装程序无法在Server

VSIX安装程序无法在Server

本文介绍了VSIX安装程序无法在Server Core上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试安装vsix软件包时,我们在日志中收到异常,"System.TypeLoadException:找不到Windows运行时类型'Windows.Networking.Connectivity.NetworkCostType'。"

When attempting to install a vsix package we receive an exception in the logs, "System.TypeLoadException: Could not find Windows Runtime type 'Windows.Networking.Connectivity.NetworkCostType'."

我们希望将Docker容器用于我们的TFS构建代理,但Server Core是唯一可用的操作系统基础映像。 我在没有容器的服务器核心上重现了这个问题,它是一样的。

We would like to use Docker containers for our TFS build agents, but Server Core is the only OS base image available.  I have reproduced this issue on Server core without containers, and it is the same.

推荐答案

欢迎来到MSDN论坛。

Welcome to the MSDN forum.

您能否分享您使用的VSIX软件包名称?

Could you please share the VSIX package name that you used?

由于我们的论坛是讨论VS安装问题,如果是自己开发的客户VS扩展,看来VS扩展开发,请转到这个合适的论坛:  ;
获得更好的支持。

Since our forum is to discuss the VS installation issue, if it is a customer VS extension that developed by yourself, it seems about the VS extension development, please redirect to this appropriate forum: https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsx&forum=vsx for a better support.

如果是官方发布的扩展,我们可以尝试咨询与作者一起检查是否有解决方法,谢谢你的理解。

If it a official released extension, we can try to consult with the Author to check if there have an workaround or not, thank you for your understanding.

祝你好运,

Sara





这篇关于VSIX安装程序无法在Server Core上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 04:01