title: Xamarin "GenerateResourceDesigner" task failed unexpectedly and .dll file could not be found
body: <p>Hi I'm running a Xamarin PCL project thats deploying to all platforms including UWP windows 10 and windows 8. </p>
  
  <p>I've just merged a branch on git and resolved some conflicts (not very well clearly) and i'm getting a few errors.</p>
  
  <p><strong>The first error:</strong></p>
  
  <pre><code>The "GenerateResourceDesigner" task failed unexpectedly.
  System.IO.FileNotFoundException: Could not load assembly 'Vigour, Version=, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
  File name: 'Vigour.dll'
     at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
     at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(String fullName, ReaderParameters parameters)
     at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(String fullName)
     at Xamarin.Android.Tuner.DirectoryAssemblyResolver.GetAssembly(String fileName)
     at Xamarin.Android.Tasks.GenerateResourceDesigner.&lt;Execute&gt;c__AnonStorey0.&lt;&gt;m__0(String ass)
     at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
     at Xamarin.Android.Tasks.ResourceDesignerImportGenerator.CreateImportMethods(IEnumerable`1 libraries)
     at Xamarin.Android.Tasks.GenerateResourceDesigner.Execute()
     at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
     at Microsoft.Build.BackEnd.TaskBuilder.&lt;ExecuteInstantiatedTask&gt;d__26.MoveNext() Vigour.Droid            
  </code></pre>
  
  <p><strong>The second one:</strong></p>
  
  <p>I know this is a <a href="https://stackoverflow.com/questions/1421862/metadata-file-dll-could-not-be-found">common problem</a> and I've tried to un-tick and tick the build of each project in the solutions configuration.</p>
  
  <p>I've also tried to remove the .vs/../.suo file to reset the project</p>
  
  <p><a href="https://i.stack.imgur.com/7EFOO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7EFOO.png" alt="Errors that are displayed when building Xamarin Solution"></a></p>
  
  <p>However I've had no luck. I think that it might have something to do with the merger that involved changing the .csproj files. </p>