Error restoring nuget packets, UWP project

0

I have a Xamarin UWP project, and while doing the build of the project, a series of errors p>

  

Severity Code Description Project File Line Suppression State   Error System.Collections.Concurrent 4.0.10 is not compatible with   UAP, Version = v10.0 (win10-x64). 0 Error System.AppContext 4.0.0 is   not compatible with UAP, Version = v10.0 (win10-arm). Home   System.Reflection Error 4.0.10 is not compatible with   UAP, Version = v10.0 (win10-x64). Home   Error System.IO.Compression.ZipFile 4.0.0 is not compatible with   UAP, Version = v10.0 (win10-x64-aot). 0 Error Autofac 3.5.2 is not   compatible with UAP, Version = v10.0 (win10-x64-aot). 0 Error Can not   resolves Assembly or Windows Metadata file   'System.Runtime.dll' InfinitusApp.UWP C: \ Workspace \ AppGestor \ InfinitusApp \ InfinitusApp \ InfinitusApp.UWP \ InfinitusApp.UWP.csproj
  Error Type universe can not resolve assembly: System.Runtime,   Version = 4.0.0.0, Culture = neutral, InfinitusApp.UWP

From what I've researched is some error with nuget, I've already done the following steps, which do not resolve:

  • Installing and uninstalling nuget.
  • Delete the packages folder and build it again.
  • Update SDK and xamarin.
asked by anonymous 30.09.2016 / 18:07

1 answer

-1

I had the same problem, so I followed these steps to solve it:

  • Update by Nuget from Microsoft.NetCore.UniversalWindowsPlatform for the 5.2.2 version.
  • Next after the installation of the packages click with the button right-click and do a new build and deploy.
  • Ps: You may need to restart Visual Studio.

        
    06.11.2016 / 19:12