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

查看:22
本文介绍了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 虚拟机并安装了 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 的资产部分中缺少资产:

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天全站免登陆