Why can not I correctly compile my app in visual studio 2015? can not find .dll

0

When I want to recompile my app so that you can take recent changes that I may not have taken with the simple modification, I get the following errors:

Severity    Code    Description Project File    Line    Suppression State
Error   CS0006  Metadata file 'C:\Users\Ned-Design\Documents\projects\NederaV4\Ned4DataAccess\bin\Debug\Ned4DataAccess.dll' could not be found  Ned4Business    C:\Users\Ned-Design\Documents\projects\NederaV4\Ned4Business\CSC    1   Active

They go out every time I want to recompile my application and I copy the files of the folder of another project in that location but still it does not work and I do not know if that is supposed to be part of the IDE and not of my code

    
asked by David 10.05.2018 в 18:55
source

2 answers

0

Somewhere in your code you use some tool of those packages sometimes the references are damaged you have to re-import the references to the dll, it is not enough to copy them, in your project in the visual studio you can right click the project and give references, find the dll that are marked and you give them to import

link

    
answered by 10.05.2018 в 19:07
0

First try to bring the project reference from the solution explorer, then when you already have it in your project, you should tell it in the properties of the reference (Right Click) which is Copy Local = True .

    
answered by 10.05.2018 в 19:23