Is it possible to change the version of System.Runtime in a Xamarin project?

Viewed 1489

I've built a DLL of a NetStandard library which is used to access a database. The issue is that after referencing the DLL in my Xamarin Forms project, I cannot use any functions in my library because, the System.Runtime is outdated. Is there any way I can update the System.Runtime assembly in the project?

enter image description here

1 Answers

Go to the *.csproj file of the BucketList.Api and change the line:

<Reference Include="System.Runtime, Version=4.2.1.0, Culture=neutral, publicKeyToken=b04f5f711d50a3a">

to:

<Reference Include="System.Runtime, Version=4.1.2.0, Culture=neutral, publicKeyToken=b04f5f711d50a3a">

Recompile the BucketList.Api DLL and reference that.

Alternatively you may try this, which may or may not be legit:

<Reference Include="System.Runtime">
Related