raisedapp / Hangfire.Storage.SQLite

An Alternative SQLite Storage for Hangfire
https://www.nuget.org/packages/Hangfire.Storage.SQLite
MIT License
155 stars 31 forks source link

.net 8 warning NETSDK1206 #63

Open Prokleta-Kuja opened 11 months ago

Prokleta-Kuja commented 11 months ago

Result for .net 8 results in a warning

warning NETSDK1206: Found version-specific or distribution-specific runtime identifier(s): alpine-x64.
Affected libraries: SQLitePCLRaw.lib.e_sqlite3.

In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
LucasBLs commented 3 months ago

No teu projeto onde instalou o pacote, adicione o bloco abaixo no .csproj, isso fara uso do RID antigo, conforme documentação da Microsoft.

<PropertyGroup>
  <UseRidGraph>true</UseRidGraph>
</PropertyGroup>
Inurias commented 2 months ago

sqlite-net, which is a dependency of this project causes this error. They need to update their SQLitePCL.raw dependency to a newer version to fix this.

Related: https://github.com/praeclarum/sqlite-net/issues/1205 https://github.com/praeclarum/sqlite-net/issues/1219 https://github.com/ericsink/SQLitePCL.raw/issues/543