Remove facade assemblies from VSIX output

Fixes #940
This commit is contained in:
Pranav K 2017-02-24 15:07:22 -08:00
parent 76fa731a6d
commit 9da7a957f4
1 changed files with 20 additions and 0 deletions

View File

@ -27,6 +27,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Microsoft.VisualStudio.RazorExtension</RootNamespace>
<AssemblyName>Microsoft.VisualStudio.RazorExtension</AssemblyName>
<!--
We exclude some facade-only assemblies (i.e. assemblies without any implementation) from the VSIX using the SuppressFromVsix ItemGroup listed in this file.
The list is dependent on the framework being targeted. Changes to TargetFrameworkVersion would warrant rebuilding the SuppressFromVsix ItemGroup.
-->
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<GeneratePkgDefFile>true</GeneratePkgDefFile>
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
@ -377,6 +381,22 @@
</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<SuppressFromVsix Include="System.AppContext.dll" />
<SuppressFromVsix Include="System.Console.dll" />
<SuppressFromVsix Include="System.Diagnostics.FileVersionInfo.dll" />
<SuppressFromVsix Include="System.Diagnostics.StackTrace.dll" />
<SuppressFromVsix Include="System.IO.FileSystem.dll" />
<SuppressFromVsix Include="System.IO.FileSystem.Primitives.dll" />
<SuppressFromVsix Include="System.Security.Cryptography.Encoding.dll" />
<SuppressFromVsix Include="System.Security.Cryptography.Primitives.dll" />
<SuppressFromVsix Include="System.Security.Cryptography.X509Certificates.dll" />
<SuppressFromVsix Include="System.Text.Encoding.CodePages.dll" />
<SuppressFromVsix Include="System.Threading.Thread.dll" />
<SuppressFromVsix Include="System.Xml.ReaderWriter.dll" />
<SuppressFromVsix Include="System.Xml.XmlDocument.dll" />
<SuppressFromVsix Include="System.Xml.XPath.dll" />
</ItemGroup>
<!-- Workaround for https://github.com/dotnet/sdk/issues/433 -->
<ItemGroup>
<VSIXSourceItem Include="..\..\src\Microsoft.CodeAnalysis.Remote.Razor\bin\$(Configuration)\net46\Microsoft.CodeAnalysis.Remote.Razor.dll" />