如何在其软件包中包含VSIX输出?

时间:2014-03-25 09:36:03

标签: visual-studio-2013 vsix

我创建了一个VSIX包,我想在VSIX中包含它的输出dll,我尝试在Assets部分的vsixmanifest文件中添加MEF组件refrencing,但它没有解决。任何想法?

1 个答案:

答案 0 :(得分:1)

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

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