How to include VSIX output in it's package?

余生颓废 提交于 2019-12-31 04:12:10

问题


I have created a VSIX package and I want to include it's output dll in the VSIX, I have tried adding MEF component refrencing to itself in vsixmanifest file in Assets section, but it doesn't resolved. any idea?


回答1:


Open your project file with notepad and set this items to true

<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
<IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory>


来源:https://stackoverflow.com/questions/22630460/how-to-include-vsix-output-in-its-package

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