Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Metadata file .dll' could not be found

I am trying with Xamarin and I try to deploy the iOs project to see it into iOS Emulator and I could not do it because I have the following error

metadata file .dll' could not be found......

I have try to fix it clean the solution and rebuild the project and solution and others found in Stackoverflow website but I could not fix it, for it, Could anybody help me with that? Thanks in advance Alejandro Castan Ps. Sorry for my little English

like image 729
Alejandro Castán Avatar asked Mar 11 '15 10:03

Alejandro Castán


3 Answers

These kind of errors occur many times in Visual Studio 201X projects. What I did to fix it, was:

  1. Right click on the Solution --> at the left panel click on Configuration Properties --> Configuration and try to uncheck the projects where the .dll errors are referring to, apply, and then recheck & apply again.
  2. If this doesn't fix the problem for you, try to solve the other code errors first, and then rebuild the solution. The Metadata file '.dll' could not be found errors didn't occur anymore after solving the other code errors.
like image 176
Abed Ghaffer Avatar answered Sep 17 '22 14:09

Abed Ghaffer


I take no credit for this, but it worked for me:

http://www.cazzulino.com/project-dependency-does-not-build-with-xamarin.html

like image 37
Iain STIRZAKER Avatar answered Sep 21 '22 14:09

Iain STIRZAKER


You might have two XAML file with same x:Class name, probably when you copy a XAML file forgot to rename the x:Class name

like image 40
TMSAL Avatar answered Sep 18 '22 14:09

TMSAL