Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 022a42f

Browse files
Merge pull request #2098 from github/fixes/include-e_sqlite.dll-in-vsix
Ensure x86|x64\e_sqlite3.dll are included in .vsix
2 parents 7522e89 + eb5d597 commit 022a42f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/GitHub.VisualStudio/GitHub.VisualStudio.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,19 @@
428428
<PropertyGroup>
429429
<UseCodebase>true</UseCodebase>
430430
</PropertyGroup>
431+
<ItemGroup>
432+
<!-- Include a reference to this package so that x86|x64\e_sqlite3.dll are copied to the output directory -->
433+
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3">
434+
<Version>1.1.11</Version>
435+
</PackageReference>
436+
</ItemGroup>
431437
<!-- Include required NuGet dependencies-->
432438
<Target Name="IncludeNuGetPackageReferences" AfterTargets="GetVsixSourceItems">
433439
<ItemGroup>
434440
<VSIXSourceItem Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'System.ValueTuple'" />
435441
<VSIXSourceItem Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'Newtonsoft.Json'" />
442+
<VSIXSourceItem VSIXSubPath="x86" Include="@(Content)" Condition="'%(Content.Link)' == 'x86\e_sqlite3.dll'" />
443+
<VSIXSourceItem VSIXSubPath="x64" Include="@(Content)" Condition="'%(Content.Link)' == 'x64\e_sqlite3.dll'" />
436444
</ItemGroup>
437445
</Target>
438446
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

0 commit comments

Comments
 (0)