I know that there is another question with exactly the same problem, but I went through all these answers and no one helped me. :( ( That was the question. )
I just created a new ASP.NET MVC project and joined several.dll in the solution. Now, when I try to build a project, I get the error message shown below in 3 out of 5 libraries.
Error CS0006 Metadata file 'C:\Users\...\source\Database\bin\Debug\DataAccessLayer.dll' could not be found Logic C:\Users\...\source\Logic\CSC 1 Active Error CS0006 Metadata file 'C:\Users\...\source\Logic\bin\Debug\Logic.dll' could not be found PTS2-MVC C:\Users\...\source\PTS2-MVC\CSC 1 Active Error CS0006 Metadata file 'C:\Users\...\source\PTS2-MVC\bin\PTS2-MVC.dll' could not be found PTS2-MVC.Tests C:\Users\...\source\PTS2-MVC.Tests\CSC 1 Active
When I go into the bin \ debug folder of this DLL, I see that it is empty, and the other DLL in which I do not receive an error message is not empty. But I donβt know how to fix it or what I did to make it happen.
The most common answer is to go to the solution properties , go to settings and uncheck β apply β check and apply again, but this did not work
c # asp.net-mvc visual-studio-2017 metadata
Svenmarim
source share