VSIX loads in experimental instance (debug) but not in non-experimental

限于喜欢 提交于 2019-12-07 23:48:36

问题


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.

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.

This is VS2015 final.

My source code is at https://github.com/cbordeman/Mvvm-Tools.


回答1:


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>


来源:https://stackoverflow.com/questions/31679091/vsix-loads-in-experimental-instance-debug-but-not-in-non-experimental

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!