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‘。

 

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

官方地址:

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

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.

 

 

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.

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.

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM