mbdavid / LiteDB

LiteDB - A .NET NoSQL Document Store in a single data file
http://www.litedb.org
MIT License
8.62k stars 1.25k forks source link

Method not found: 'Void System.Threading.Mutex..ctor on NET5.0 target framework. #2079

Open thanhy opened 3 years ago

thanhy commented 3 years ago

We're seeing below runtime exception for an executable building with NET5.0 target framework referencing LiteDB 5.0.11 nuget package. Does LiteDB support NET5.0 target framework?

System.MissingMethodException: Method not found: 'Void System.Threading.Mutex..ctor(Boolean, System.String, Boolean ByRef, System.Security.AccessControl.MutexSecurity)'. at LiteDB.SharedEngine..ctor(EngineSettings settings) at LiteDB.ConnectionString.CreateEngine() at LiteDB.LiteDatabase..ctor(ConnectionString connectionString, BsonMapper mapper) at LiteDB.LiteDatabase..ctor(String connectionString, BsonMapper mapper)

stigzler commented 10 months ago

Shame he/they can't be arsed to comment really, isn't it?

nh43de commented 10 months ago

Shame he/they can't be arsed to comment really, isn't it?

.net 5 is EOL and use cases for LiteDb are diminishing