如何在其包中包含 VSIX 输出? [英] How to include VSIX output in it's package?

查看:31
本文介绍了如何在其包中包含 VSIX 输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个 VSIX 包,我想将它的输出 dll 包含在 VSIX 中,我尝试在资产部分的 vsixmanifest 文件中添加 MEF 组件对自身的引用,但它没有解决.有什么想法吗?

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?

推荐答案

用记事本打开你的项目文件并设置此项为 true

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>

这篇关于如何在其包中包含 VSIX 输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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