How to exclude copy local referenced assemblies from a VSIX
Posted
by Daniel Cazzulino
on ASP.net Weblogs
See other posts from ASP.net Weblogs
or by Daniel Cazzulino
Published on Fri, 09 Nov 2012 17:56:30 GMT
Indexed on
2012/11/09
23:02 UTC
Read the original article
Hit count: 327
.NET
When you add library references to project that are not reference assemblies or installed in the GAC, Visual Studio defaults to setting Copy Local to True:
If, however, those dependencies are distributed by some other means (i.e. another extension, or are part of VS private assemblies, or whatever) and you want to avoid including them in your VSIX, you can add the following property to the project file:
<PropertyGroup> ... <IncludeCopyLocalReferencesInVSIXContainer>false</IncludeCopyLocalReferencesInVSIXContainer>
© ASP.net Weblogs or respective owner