Skip to content

Commit

Permalink
chore: Remove platform-specific conditions from Copy task (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 authored Nov 9, 2024
1 parent 8cc1b71 commit 868cbd8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Host/CopySQLiteLibrary.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
<Target Name="CopySQLiteLibraryToOutputDir" AfterTargets="PostBuildEvent">
<Message Importance="high" Text="OSPlatform: $(OS)" />
<Copy
Condition="$([MSBuild]::IsOSPlatform('Windows'))"
SourceFiles="bin\$(Configuration)\$(TargetFramework)\runtimes\win-x86\native\e_sqlite3.dll"
DestinationFolder="$(OutputPath)"
/>
<Copy
Condition="$([MSBuild]::IsOSPlatform('Linux'))"
SourceFiles="bin\$(Configuration)\$(TargetFramework)\runtimes\linux-x86\native\libe_sqlite3.so"
DestinationFolder="$(OutputPath)"
/>
Expand All @@ -17,12 +15,10 @@
<Message Importance="high" Text="OutputPath: $(OutputPath)" />
<Message Importance="high" Text="PublishDir: $(PublishDir)" />
<Copy
Condition="$([MSBuild]::IsOSPlatform('Windows'))"
SourceFiles="$(OutputPath)\e_sqlite3.dll"
DestinationFolder="$(PublishDir)"
/>
<Copy
Condition="$([MSBuild]::IsOSPlatform('Linux'))"
SourceFiles="$(OutputPath)\libe_sqlite3.so"
DestinationFolder="$(PublishDir)"
/>
Expand Down

0 comments on commit 868cbd8

Please sign in to comment.