but instead end up in CefSharp.WinForms.dll and CefSharp.Wpf.dll. In fact ScriptCore is duplicated everywhere.
This makes it problematic when both dlls are referenced.
In case of BrowserSettings it's probably caused by the fact that a ref class definition is being included instead of referenced with "using" and the source file shouldn't be a header at all.
CefSharp.ScriptCore should be somehow marked as native type, perhaps pragma managed(push,off).
Unfortunately I was unable to get it to compile with suggested changes.
Following types should be defined CefSharp.dll:
but instead end up in CefSharp.WinForms.dll and CefSharp.Wpf.dll. In fact ScriptCore is duplicated everywhere.
This makes it problematic when both dlls are referenced.
In case of BrowserSettings it's probably caused by the fact that a ref class definition is being included instead of referenced with "using" and the source file shouldn't be a header at all. CefSharp.ScriptCore should be somehow marked as native type, perhaps pragma managed(push,off).
Unfortunately I was unable to get it to compile with suggested changes.