Wednesday, December 23, 2015

Error Type universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, in Visual Studio 2016


How to fix the Error  Type universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Run  the following command in the Package Manager Console 
PM> Install-Package Microsoft.NETCore.UniversalWindowsPlatform

2 comments:

Your project is not referencing the "MonoAndroid,Version=v8.1" framework. Add a reference to "MonoAndroid,Version=v8.1" in the "frameworks" section of your project.json, and then re-run NuGet restore.

I had  the same problem. Reason: file obj/project.assets.json target "MonoAndroid,Version=v7.1" when my project target androi...