Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ or with the .NET CLI:
dotnet add package tbbuck.Hangfire.Storage.SQLite --prerelease
```

> **.NET Framework note:** the patched SourceGear SQLite engine does not support `AnyCPU` on
> .NET Framework. If you consume this package from a .NET Framework app, set an explicit
> `<PlatformTarget>` (`x64` or `x86`). Modern .NET (Core / 5+) consumers are unaffected — native
> assets are resolved per-RID automatically.

## Usage

This is how you connect to an SQLite instance
Expand Down
11 changes: 7 additions & 4 deletions src/main/Hangfire.Storage.SQLite/Hangfire.Storage.SQLite.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Condition=" '$(OS)' != 'Windows_NT' ">
<PropertyGroup>
<!--
netstandard2.0 only. It is consumable by .NET Framework 4.6.1+ as well as modern .NET.
A separate net48 target was dropped because the SourceGear.sqlite3 native engine does not
support AnyCPU on .NET Framework, and the published package (built on Linux) never
contained a net48 assembly anyway.
-->
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(OS)' == 'Windows_NT' ">
<TargetFrameworks>netstandard2.0;net48</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<Version>0.5.0-beta</Version>
<PackageId>tbbuck.Hangfire.Storage.SQLite</PackageId>
Expand Down
Loading