Visual Studio 2019 doesn't find DLLs in the Executable Directory

  • Thread starter Thread starter rokcej
  • Start date Start date
R

rokcej

Guest
I didn't have this problem in Visual Studio 2015 and 2017. I always put my DLL files in one of the Executable Directories (Project>Properties>VC++ Directories>Executable Directories) and it worked fine.

Now I'm using Visual Studio 2019 and whenever I try to run my project through Visual Studio, I get an error saying "The code execution cannot proceed because ______.dll was not found.", even though the DLL file is in one of the Executable Directories.

Is there any way to fix this? I don't want to put DLL files in the same directory as the .exe, because I want to have a project template that takes care of everything, so I don't have to manually copy DLL files every time I start a new project.

Continue reading...
 
Back
Top