Closed ssuui closed 3 years ago
Issue transferred as it's unlikely there's a bug.
Have you followed the instructions outlined in? There is a working example at https://github.com/cefsharp/CefSharp.MinimalExample please download and test. The MinimalExample
is working as expected.
I'm not doing anything.Only the component was introduced, and an exception occurred while the program was being initialized .Before my computer updated this version. It works in another project. The version used is 84.4.10 and he has no exceptions.Can make sure that my computer environment is no problem.The same thing happens when I go back to the old version84.4.10
It's not clear what you mean by this. Please provide clearer details.
If you have updated an already working .Net Core
project then please perform a clean build (clean your project if it's using git or manually delete the bin/obj` folder).
I've tried all of the above. I also tried to return a device to operate. This is the problem that occurs when you run Debug X86 after a component reference. FileNotFoundException: Could not load File or Assembly 'CefSharp.Wpf, Version=85.3.130.0, Culture=neutral, PublicKeyToken= 40C4B6FC221f4138 '. The system could not find the specified file.
Demo The example above that I'm working perfectly here shows that my environment is fine. Instead of creating a new project on native, I've shown my code in the Google gallery. It's just a simple reference and run Debug x86
Thank you for your reply and help. Wish you a happy life
@amaitland
The problem has been solved. Thank you very much. I need to write something in the project。
<ItemGroup>
<!-- TODO: These updates are currently required because CefSharp.Wpf specifies
<Private>false</Private>, which means these libraries will not be specified in
the .deps.json file, and so the CoreCLR wouldn't load these. -->
<Reference Update="CefSharp">
<Private>true</Private>
</Reference>
<Reference Update="CefSharp.Core">
<Private>true</Private>
</Reference>
<Reference Update="CefSharp.Wpf">
<Private>true</Private>
</Reference>
</ItemGroup>
、 Thank you very much
85.3.130
X86
Win 10
WPF
Program is initializing
Error Message
eg : Could not load file or assembly 'CefSharp.Wpf, Version=85.3.130, Culture=neutral, PublicKeyToken=40c4b6fc221f4138'. 系统找不到指定的文件。
English
I'm not doing anything.Only the component was introduced, and an exception occurred while the program was being initialized .Before my computer updated this version. It works in another project. The version used is 84.4.10 and he has no exceptions.Can make sure that my computer environment is no problem.The same thing happens when I go back to the old version84.4.10
Chinese
我什么都没做。在引入组件的时候。程序初始化就出现了异常。电脑在更新这个版本之前。在另外一个项目中是可以正常运行的。使用的版本为84.4.10 他没有异常。可以确保我电脑的环境是没有问题的。我回退旧版本84.4.10 也是如此情况