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

Commit

Permalink
Merge pull request #2098 from github/fixes/include-e_sqlite.dll-in-vsix
Browse files Browse the repository at this point in the history
Ensure x86|x64\e_sqlite3.dll are included in .vsix
  • Loading branch information
StanleyGoldman committed Dec 6, 2018
2 parents 7522e89 + eb5d597 commit 022a42f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/GitHub.VisualStudio/GitHub.VisualStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,19 @@
<PropertyGroup>
<UseCodebase>true</UseCodebase>
</PropertyGroup>
<ItemGroup>
<!-- Include a reference to this package so that x86|x64\e_sqlite3.dll are copied to the output directory -->
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3">
<Version>1.1.11</Version>
</PackageReference>
</ItemGroup>
<!-- Include required NuGet dependencies-->
<Target Name="IncludeNuGetPackageReferences" AfterTargets="GetVsixSourceItems">
<ItemGroup>
<VSIXSourceItem Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'System.ValueTuple'" />
<VSIXSourceItem Include="@(ReferenceCopyLocalPaths)" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)' == 'Newtonsoft.Json'" />
<VSIXSourceItem VSIXSubPath="x86" Include="@(Content)" Condition="'%(Content.Link)' == 'x86\e_sqlite3.dll'" />
<VSIXSourceItem VSIXSubPath="x64" Include="@(Content)" Condition="'%(Content.Link)' == 'x64\e_sqlite3.dll'" />
</ItemGroup>
</Target>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Expand Down

0 comments on commit 022a42f

Please sign in to comment.