Skip to content

Commit 3ff1eaa

Browse files
committed
Fix vsix dll includes
1 parent c4af025 commit 3ff1eaa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

VSDebugPro.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@
213213
</PropertyGroup>
214214
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
215215
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
216+
<Target Name="IncludePackageReferenceDependencies" AfterTargets="GetVsixSourceItems">
217+
<ItemGroup>
218+
<VSIXSourceItem Include="@(ReferencePath)" Condition="$([System.String]::new('%(ReferencePath.FusionName)').StartsWith('Microsoft.VisualStudio'))"/>
219+
<VSIXSourceItem Include="@(ReferencePath)" Condition="$([System.String]::new('%(ReferencePath.FusionName)').StartsWith('YamlDotNet'))"/>
220+
<VSIXSourceItem Include="@(ReferencePath)" Condition="$([System.String]::new('%(ReferencePath.FusionName)').StartsWith('DnsClient'))"/>
221+
<VSIXSourceItem Include="@(ReferencePath)" Condition="$([System.String]::new('%(ReferencePath.FusionName)').StartsWith('Newtonsoft.Json'))"/>
222+
<VSIXSourceItem Include="@(ReferencePath)" Condition="$([System.String]::new('%(ReferencePath.FusionName)').StartsWith('VSLangProj'))"/>
223+
</ItemGroup>
224+
</Target>
216225
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
217226
Other similar extension points exist, see Microsoft.Common.targets.
218227
<Target Name="BeforeBuild">

0 commit comments

Comments
 (0)