ProgrammingDude
ProgrammingDude

Reputation: 597

I am getting a Metadata file "filename" could not be found error

Ok, so here is the problem, I have an application that works fine. However, when I build the project I sometimes get the error:

Metadata file 'C:\Users\myUsername.KSS_WINNT\Documents\Visual Studio 2015\Projects\NewRDT\NewRDT\bin\Debug\NewRDT.dll' could not be found.

Other times I get the warning:

Could not resolve this reference. Could not locate the assembly "NewRDT". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

I have the dll in my References, and like I said the application runs fine when I just press the Start button, but still would like to find out what is giving me the error and warning. Not sure what code I could post to help out, but if anyone needs anything just let me know and I will be happy to post it, just not sure what you would need to look at.

Upvotes: 2

Views: 15543

Answers (1)

Andrey Ischencko
Andrey Ischencko

Reputation: 790

When I get error about missing metadata i just clean solution then rebuild it. Hope it helps.

Upvotes: 4

Related Questions