title: Warnings: Creating Cross-plaftorm Xamarin Blank App (Xamarin.Form portable) in Visual Studio 2015
body: <p>Whenever I try to create a new project of the type mentioned above I get these 4 warnings:</p>
  
  <p><strong>Pre-updating Nuget</strong></p>
  
  <h1>1</h1>
  
  <pre><code>Warning IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled.   xamarinProj1.Droid
  </code></pre>
  
  <h1>2</h1>
  
  <pre><code>The "ResolveLibraryProjectImports" task failed unexpectedly.
  System.IO.FileNotFoundException: Could not load assembly 'xamarinProj1, Version=, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
  File name: 'xamarinProj1.dll'
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName, ReaderParameters parameters)
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName)
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.GetAssembly(String fileName)
     at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(ICollection`1 jars, ICollection`1 resolvedResourceDirectories, ICollection`1 resolvedAssetDirectories, ICollection`1 resolvedEnvironments)
     at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
     at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
     at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() xamarinProj1.Droid          Build
  </code></pre>
  
  <h1>3</h1>
  
  <pre><code>Type universe cannot resolve assembly: System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.   xamarinProj1.UWP            Build   
  </code></pre>
  
  <h1>4</h1>
  
  <pre><code>Cannot resolve Assembly or Windows Metadata file 'System.Runtime.dll'   xamarinProj1.UWP    c:\users\user\documents\visual studio 2015\Projects\xamarinProj1\xamarinProj1\xamarinProj1.UWP\xamarinProj1.UWP.csproj      Build   
  </code></pre>
  
  <p><strong>Post-Nuget:</strong></p>
  
  <h1>2</h1>
  
  <pre><code>The "ResolveLibraryProjectImports" task failed unexpectedly.
  System.IO.FileNotFoundException: Could not load assembly 'xamarinProj1, Version=, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
  File name: 'xamarinProj1.dll'
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName, ReaderParameters parameters)
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName)
     at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.GetAssembly(String fileName)
     at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(ICollection`1 jars, ICollection`1 resolvedResourceDirectories, ICollection`1 resolvedAssetDirectories, ICollection`1 resolvedEnvironments)
     at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
     at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
     at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() xamarinProj1.Droid          Build
  </code></pre>
  
  <h1>3</h1>
  
  <pre><code>IDE0006 Error encountered while loading the project. Some project features, such as full solution analysis for the failed project and projects that depend on it, have been disabled.   xamarinProj1.Droid      1   IntelliSense    Active
  </code></pre>
  
  <h1>5</h1>
  
  <pre><code>Severity    Code    Description Project File    Line    Source  Suppression State
  Warning     Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Runtime" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Text.RegularExpressions" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.IO" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Globalization" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Xml.ReaderWriter" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.ObjectModel" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Linq" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Runtime.Extensions" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Collections" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Threading" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Diagnostics.Debug" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Reflection" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Linq.Expressions" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Threading.Tasks" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;&lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;&lt;dependentAssembly&gt;&lt;assemblyIdentity name="System.Dynamic.Runtime" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /&gt;&lt;bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" /&gt;&lt;/dependentAssembly&gt;&lt;/assemblyBinding&gt;    xamarinProj1.Droid          Build
  </code></pre>
  
  <p>Notice that even though it's a warning in the emulator I don't see that application running (the default one "Welcome to Xamarin" label). Also, when I click on error #5 it will reappear on the next build.</p>
  
  <p>Things that I've tried to solve it:</p>
  
  <ol>
  <li>I've updated the project Nuget package and installed the newest Forms , also I've tried to install all the updates in Nuget manager for that project and still the problem remains</li>
  <li>I've reinstalled Visual Studio and Xamarin</li>
  <li>I've installed various version of JDK and tried to change in tools-> options-> Xamarin-> Android the various JDK folders: x64: jdk1.8.0_102 , x86: jdk1.7.0_55,jdk1.7.0_79,jdk1.7.0_80, jdk1.8.0_101
  (notice that in your manual installation you suggest to install x86 and so i've tried that as well)</li>
  <li>Installed the newest XHAM from Intel site.</li>
  <li>Updated Android SDK and installed basically all tools (including platformer and so on) and all API 23 and API 24 content, and various extras that sounds good to have also installed the latest NDK</li>
  <li>Change project minimum target to a much lower Android firmware version (14) </li>
  <li>I've updated Xamarin via Visual Studio</li>
  <li>Searched the net and even tried to reinstall Nuget package manager as one suggested</li>
  </ol>
  
  <p>I must mention that the original installer kept freezing when I've reinstalled Xamarin (after uninstallation as I've mentioned before), and the installer kept failing so I've installed it according to the <a href="https://developer.xamarin.com/guides/android/getting_started/installation/windows/manual_installation/" rel="nofollow">manual installation guide</a>.</p>