Resolving metadata file not found issue

I made a copy of an existing solution and put it in a different folder. When I tried to run it, I got the following error.

Meta file ‘C:\MyProject\Some.dll’ could not be found.

In this case, Some.dll is produced by one of several projects in the solution. I tried rebuilding the solution but that didn’t help. It turns out some settings appeared not carried over from the original solution. Here’s how to fix it.
  • In Solution Explorer, right click the solution and select Properties.
  • In the Property Pages dialog, go to Configuration Properties | Configuration.
  • You’ll see the Build checkbox for the offending project is not checked. Check it, and click OK.
  • Rebuild the solution.

Comments

Popular posts from this blog

Viewing test results and artifacts captured with 'Test & Feedback' in Azure DevOps

Changing default language in Visual Studio

The Web Development Puzzle