简体   繁体   中英

Missing DLL in Release but not in Debug

I am porting an old MFC application from Visual Studio 2008 to Visual Studio 2019.

In the process, an old DLL library has been incorporated into the source code to remove the library building step in development.

Now, this program runs and functions perfectly when debugging in the default Debug configuration; however, in the Release configuration I get:

The code execution cannot proceed because MSVCR90.dll was not found

I imagine this means that MSVCR90d.dll is successfully found in Debug mode, but cannot find the release version of the DLL for some reason.

I've tried all the general steps of downloading Visual C++ Runtime redistributables, changing to statically linked runtime libraries, and most other things found in the first results on Google.

All intermediate versions of Visual Studio are installed locally on the development machine (2008, 2010, 2015, 2017, and 2019).

Is there anything else I could try?

如果您安装 Dependency Walker https://dependencywalker.com并准确查看发布和调试版本之间缺少的内容以及差异,则可以避免所有猜测。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM