-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate serialization assembly issue #2223
Comments
@craigt1313 Thanks for actually taking the time to fill out the bug report in detail. We've seen reports of this before, I'm not sure this is actually a problem with I'll leave this open for now, just incase someone else has a comment, it's likely to be closed as |
I ran into this issue today when converting an older WinForms project to CefSharp. It would be helpful to include this issue in the FAQs: https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions#Runtime_dependencies |
@vwmberry95 The |
It's possible to call |
I experienced this today. I found by going to the Properties / Build page and changing the Generate serialization assembly from On to Auto took care of the problem. |
Same here |
I had a similar problem in a legacy VB.Net WinForm project I took over. After swapping out the old WebControl for CefSharp, we could build and run in Debug mode just fine, but a Release build would fail. I noticed that the File listed on the build error was SGEN - the XmlSerializationGenerator. As far as I could tell there were no objects that required XmlSerializtion, so I went to the Project Properties > Compile > Advanced Compile Options and changed "Generate serialization assemblies:" from Auto to No. The solution builds and runs just fine in Release mode now. |
The project structure has changed with out of necessity to support You no longer directly reference the Closing now as hopefully this is resolved. |
What version of the product are you using?
57.0 (also verified with 63 using CefSharp.WinForms.Example available at https://github.com/cefsharp/CefSharp AND https://github.com/cefsharp/CefSharp.minimalexample)
What architecture x86 or x64?
Tried with both, independently
On what operating system?
Win10
using
WinForms
What steps will reproduce the problem?
-- set CefSharp.MinimalExample.Winforms as startup project
-- on project properties Application tab, set startup project to CefSharp.MinimalExample.WinForms.Program
-- change solution configuration to Release (x86 or x64)
-- on project properties Build tab, set Generate serialization assembly to On
-- build project
-*Error on build: Could not load file or assembly 'CefSharp.Core.dll or one of its dependencies. The specified module could not be found.
Please provide any additional information below.
- Does the cef log provide any relevant information? debug.log does not exist in bin x64 folder after test
The text was updated successfully, but these errors were encountered: