mbdavid / LiteDB

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

Error while installing LiteDB v5 in Vs2015 #1723

Closed Fanom2813 closed 4 years ago

Fanom2813 commented 4 years ago

Hello, I'm new to liteDB and o tried to install it on visual studio 2015 but am getting an error " failed to add reference to 'System.Runtime'. Please make sure that it is in the Global Assembly Cache. " When I downgrade to 4x it installs successfully can anyone help me to fix that thank you

alvinTaoOps commented 4 years ago

Install-Package System.Runtime -Version 4.3.1

alvinTaoOps commented 4 years ago

System.Runtime package is a part of dotnet standard but not in dotnetFrameWork 4.6.you can install it with package manager cli.

alvinTaoOps commented 4 years ago

Hello, I'm new to liteDB and o tried to install it on visual studio 2015 but am getting an error " failed to add reference to 'System.Runtime'. Please make sure that it is in the Global Assembly Cache. " When I downgrade to 4x it installs successfully can anyone help me to fix that thank you Install-Package System.Runtime -Version 4.3.1

Fanom2813 commented 4 years ago

Install-Package System.Runtime -Version 4.3.1

At first I had installed it but I had the same error that's because vs2015 did not add System.Runtime In my references so I had To do it manually and it worked out

Thank you