**WORK IN PROGRESS**
Unfortunately the new chromiumembeddedframework.redist.win-x86/chromiumembeddedframework.redist.win-x64 packages
aren't usable yet, the files are copied to the relevant natives folder .net core just doesn't load the dlls.
I suspect if we were to p/invoke the dll then it would be loaded correctly, might need to raise this with .Net Core team.
So for now just using the older cef.redist packages, which expose props that can be used in any other package.
the new CefSharp.Common.win packages will copy the files using the .targets file as before, difference being PlatformTarget
is used instead of Platform so we can detect the actual platform of the project not the solution.
AnyCPU is not currently supported, x86/x64 only, Win32 might work, not tested though.
Not clear that AnyCpu will be possible, more digging to do on that front.
Issue #2795
* WinForms/WPF - Dispose of IFrame after calling LoadUrl
* BrowserProcess - Add initial implementation of IRenderProcessHandler.OnContextCreated/OnContextReleased
- IV8Context.Execute is the only method to be implemented so far (execute script without returning a result)
- Wrappers for CefFrame and CefBrowser have yet to be imported yet, still need to determine if they should be included individually or reference to CefSharp.Core added
* BrowserProcess - Add wrappers for Browser and Frame
Ultimately we should probably remove the CefSharp.BrowserSubprocess.Core project and move all the code into a folder/namespace within CefSharp.Core
This would allow us to share the a lot of existing code, major refactor required
* CefSharp.Common.props - Add CefSharpBrowserProcessCore32/64 properties
Make creating your own custom browser process easier
* BrowserProcess - Remove example and add comments about creating your own custom version
Props are included before targets (usually top of build file), so this makes them more accessible.
Previously you'd have to include user code after the .targets file to access the item groups
* build.ps1 - Write version to CefSharp.shfbproj
* build.ps1 - Specify UTF-8 as encoding when reading
* build.ps1 - Save files as UTF-8 without BOM
* build.ps1 - Update copyright year on compiled files
* build.ps1 - Update version in appveyor.yml
* Removed copyright year from the nuspec files
* Updated editorconfig for ps1 files
* Apply changes from build.ps1
* LICENSE - Removed year
Should now just be copied in the props files, using a <None/> target to copy the AnyCPU files with copy local false (private = false) and
x86 and x64 using copy local true
Hopefully only need a targets file for the CefSharp.Common package as it copies the cef.redist(x86|x64) files
Resolves#2156
Nuget packages updated to use ItemGroup None instead of Copy target
Nuget props restructure to support Win32 target
x86 and Win32 targets are exactly the same in content, they differ in name only, so switched to using an <Otherwise/> block
Remove AnyCpu <When/> option from props files and consolidate with x86 and Win32. Set Private to false and rely on the
<None/> entires to copy the files to the output folder
Ideally would move the OffScreen, WinForms and WPF targets file content to the props (as they're actually props now), unfortunately
we need guaranteed ordering and Nuget 2.8.x doesn't provide that, if we leave them as .targets it'll happen late enough to make sure
the cef.redist list of files is provided.
https://github.com/NuGet/Home/issues/4229#issuecomment-271387190
When the copying of files is done after build and you sign a clickonce distribution the copied files will not match the manifests hash anymore.
Changing it to BeforeBuild got it working again for me.
* Replacing Condition with <Choose> tag
* Replacing Condition on references with <Choose> tag
* Replacing Condition on references with <Choose> tag
* Replacing Condition on references with <Choose> tag
* Reflect correct target directory in msbuild message for x64 files on AnyCPU platform
* Introduce $(CefSharpTargetDir) msbuild property to make it easily overridable
set CefSharpAnyCpuSupport in your project before you'll be allowed to use it, should hopefully reduce all the support complaints for those
who don't read the documentation.