When I run my application, I am aware of the error warning, stating DAL.dll was not found. I have no idea what it can be, I'm following a tutorial, these are my first steps with C #. I'm using VS 2017.
Searching for the same problem, I was able to fix it after a few attempts.
Some explanations before:
The bin folder receives DLLs
of your project after Solution
Build.
If you give Clean
to the project, these DLLs
will be removed until a Build
is done again.
Try this to fix:
Right-click Solution in Solution Explorer - > Properties - > Configuration Properties and check that the Build checkbox is checked for each of the layers.
If it is checked and still not generating the DLLs
, follow the steps in Solution 1 and if it does not work try Solution 2 :
Clean
to Solution
frammework
, check which version is set (in my case 4.5.1). frameworks
to the same version. Build
Clean
to Solution
Visual Studio
Builds
as explained above and click
apply Build
to Solution
and check that DLLs
were
generated Check this question in SOen with other possible solutions.