Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Remove facade assemblies from VSIX output
Browse files Browse the repository at this point in the history
Fixes #940
  • Loading branch information
pranavkm committed Feb 27, 2017
1 parent 76fa731 commit 9da7a95
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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" />
Expand Down

0 comments on commit 9da7a95

Please sign in to comment.