VSIX 在实验实例(调试)中加载,但不在非实验中加载 [英] VSIX loads in experimental instance (debug) but not in non-experimental

查看:53
本文介绍了VSIX 在实验实例(调试)中加载,但不在非实验中加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从头开始重建了这个项目两次,但我不明白为什么我的 VSIX 菜单项和选项页面是通过调试模式加载的,而不是手动安装 .VSIX 文件.输出"窗口中没有显示任何内容,我不确定在何处查找此类内容的 VS 日志记录.

I've rebuilt this project twice from the ground up, and I can't figure out why my VSIX' menu items and Options pages are being loaded through debug mode but not by installing the .VSIX file manually. Nothing shows in the Output window and I'm not sure where to look for VS logging of this kind of stuff.

这之前可以使用,但大约一周前停止了.

THIS WAS WORKING before, but stopped about a week ago.

我什至创建了一个 Hyper-V W8.1 VM 并安装了 VS2015(最终版本)并安装了 VSIX,但它似乎在启动时无法加载,除非我正在调试.

I even created a Hyper-V W8.1 VM and installed VS2015 (final release) and installed the VSIX and it just doesn't seem to load at startup unless I'm debugging.

这是 VS2015 决赛.

This is VS2015 final.

我的源代码位于 https://github.com/cbordeman/Mvvm-Tools.

推荐答案

我想通了.我的 .vsixmanifest 的 Assets 部分缺少一个 Asset:

I figured it out. I was missing an Asset in my Assets section of my .vsixmanifest:

<Assets>
    <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>

这篇关于VSIX 在实验实例(调试)中加载,但不在非实验中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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