diff --git a/LiteDB/Client/Mapper/BsonMapper.Deserialize.cs b/LiteDB/Client/Mapper/BsonMapper.Deserialize.cs index f347ae523..fd68de9e6 100644 --- a/LiteDB/Client/Mapper/BsonMapper.Deserialize.cs +++ b/LiteDB/Client/Mapper/BsonMapper.Deserialize.cs @@ -179,8 +179,7 @@ public object Deserialize(Type type, BsonValue value) // avoid use of "System.Diagnostics.Process" in object type definition // using String test to work in .netstandard 1.3 - if (actualType.FullName.Equals("System.Diagnostics.Process", StringComparison.OrdinalIgnoreCase) && - actualType.Assembly.GetName().Name.Equals("System", StringComparison.OrdinalIgnoreCase)) + if (actualType.FullName.Equals("System.Diagnostics.Process", StringComparison.OrdinalIgnoreCase)) { throw LiteException.AvoidUseOfProcess(); } diff --git a/LiteDB/LiteDB.csproj b/LiteDB/LiteDB.csproj index 58865570c..605dd1ac2 100644 --- a/LiteDB/LiteDB.csproj +++ b/LiteDB/LiteDB.csproj @@ -2,9 +2,9 @@ net4.5;netstandard1.3;netstandard2.0 - 5.0.12 - 5.0.12 - 5.0.12 + 5.0.13 + 5.0.13 + 5.0.13 MaurĂ­cio David LiteDB LiteDB - A lightweight embedded .NET NoSQL document store in a single datafile