Skip to content

Commit fd0571d

Browse files
authored
Merge pull request #50 from sharwell/update-vsix
Make sure the VSIX output includes CommonMark
2 parents 1b61531 + 648a504 commit fd0571d

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

DocumentationAnalyzers/DocumentationAnalyzers.Vsix/DocumentationAnalyzers.Vsix.csproj

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
</PropertyGroup>
1010

1111
<PropertyGroup>
12-
<GeneratePkgDefFile>false</GeneratePkgDefFile>
12+
<GeneratePkgDefFile>true</GeneratePkgDefFile>
1313
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
1414
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
1515
<IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment>
16-
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
16+
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
1717
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
1818
<VSSDKTargetPlatformRegRootSuffix>Roslyn</VSSDKTargetPlatformRegRootSuffix>
1919
</PropertyGroup>
@@ -28,6 +28,7 @@
2828
</PropertyGroup>
2929

3030
<ItemGroup>
31+
<PackageReference Include="Microsoft.VisualStudio.Shell.14.0" Version="14.0.23205" />
3132
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="15.1.192" PrivateAssets="all" />
3233
</ItemGroup>
3334

@@ -48,4 +49,11 @@
4849
<ProjectReference Update="@(ProjectReference)" Name="%(Filename)" />
4950
</ItemGroup>
5051

52+
<Target Name="IncludeNuGetPackageReferences" AfterTargets="GetVsixSourceItems">
53+
<ItemGroup>
54+
<_ReferenceCopyLocalBinaries Include="@(ReferenceCopyLocalPaths)" Condition="'%(Extension)' != '.pdb'" />
55+
<VSIXSourceItem Include="@(_ReferenceCopyLocalBinaries)" Condition="'%(_ReferenceCopyLocalBinaries.NuGetPackageId)' == 'CommonMark.NET'" />
56+
</ItemGroup>
57+
</Target>
58+
5159
</Project>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
2+
// Licensed under the MIT license. See LICENSE in the project root for license information.
3+
4+
using Microsoft.VisualStudio.Shell;
5+
6+
[assembly: ProvideCodeBase(CodeBase = "CommonMark.dll")]

0 commit comments

Comments
 (0)