问题
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