Metadata file '....dll' could not be found
I spent a few hours troubleshooting this error and was about to pull my hair out when I decided to look at the output tab. This provided more details than just the error above which basically was because my new project was on a newer version of .NET (4.5.2) while the rest of my projects were on (4.5).
To fix this, I just had to go into the project properties and change all the versions (decided to go to 4.6). Voila, simple fix... then I just wanted to bang my head against the wall.
I followed all the steps found searching on google but none of those solutions worked. Those suggested to remove/add references, manual build, clean/rebuild builds, etc. I eventually narrowed it down that it was definitely the new project, but the solution builds if no references point to it. The instant I have a reference even when not using anything in the new project will throw the error.
In conclusion, go to the Output tab to get more details on what the actual issue is.
No comments:
Post a Comment