C# Winform 運行異常 CefSharp.core.dll 找不到指定的模塊

C# Winform開發中使用了CefSharp,以前在VS2012中運行很正常,今天換了一臺Windows XP 打開VS2010 運行時,發生異常:System.IO.FileNotFoundException;Coloud not load file or assembly ‘CefSharp.core.dll’ or one of its dependencies,找不到指定的模塊。
File name:’CefSharp.Core.dll‘。
redis

 

常常會出現找不到 vcruntime 的 問題,這裏提供最新版和多版本在一個包裏的下載地址,ui

官方地址:3d

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloadscode

Visual Studio 2015, 2017 and 2019
Download the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019. The following updates are the latest supported Visual C++ redistributable packages for Visual Studio 2015, 2017 and 2019. Included is a baseline version of the Universal C Runtime see MSDN for details.
orm

x86: vc_redist.x86.exe  下載地址:https://download.visualstudio.microsoft.com/download/pr/c8edbb87-c7ec-4500-a461-71e8912d25e9/99ba493d660597490cbb8b3211d2cae4/vc_redist.x86.exe
x64: vc_redist.x64.exe  下載地址:https://download.visualstudio.microsoft.com/download/pr/9e04d214-5a9d-4515-9960-3d71398d98c3/1e1e62ab57bbb4bf5199e8ce88f040be/vc_redist.x64.exe
ARM64: vc_redist.arm64.exe   下載地址:https://download.visualstudio.microsoft.com/download/pr/56048768-6a58-41ac-af01-9e14a365298b/1180474b310106dcdc8d36c4196e320c/vc_redist.arm64.exe
Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.


ci

For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.開發

This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions.get

相關文章
相關標籤/搜索