Universal Windows 10 build error: Failed to restore NuGet packages HELP!

i am trying to build for Universal Windows 10 but it gets stuck at Compiling Scripts and then in Log it says Error building Player because scripts had compiler errors and this:

I am using Unity 5.3.5f1 and Visual Studio 2015 Update 3 and i have installed The Universal Tools
Please HELP!

Thanks in advanced.

something went wrong with restoring Nuget packages, things to try:

  • delete C:\Users\.nuget directory, note it’s hidden, ensure that you can see hidden directories


  • don’t use build & run, simply build, open generated solution and try to run then