- When true excludes CefSharp.BrowserSubprocess.exe and CefSharp.BrowserSubprocess.dll
- Defaults to true for .Net 5+ SelfContained PublishSingleFile builds
(same as before)
Allows user to easily exclude the BrowserSubprocess when they want to create a self contained
build
- For Non library projects that use packages.config the default is now Content which should simplify clickonce support
For libraries the default will remain as None
- For NetCore projects CefSharpBuildAction Content is mapped to default to support upgrading users
Technically this is a breaking change, user impact is expected to be low and can be overridden to restore
the previous behaviour in the edge cases.
Issue #4062
- Fail fast if nuget.exe not found
- Check for VSWhere at build start
(should always be installed as it's included in VS2019 and above)
- Remove netcore31 from $Target valid set, we'll just rely on the
$TargetFramework
- Push-Location to working directory for easier debugging
* Add support for Windows ARM64 for the NETCore packages.
Note: .NET 5.0 or higher is required to build a WinForms/WPF application for win-arm64.
Fixescefsharp/CefSharp#2944
* PR feedback: Remove "WIN32" define as it is already defined by minwindef.h.
* PR feedback: Switch the CefSharp.*.Example.netcore and CefSharp.Test.netcore projects from cef.redist to chromiumembeddedframework.runtime.
Note: These projects are excluded for build when platform is 'arm64', as otherwise the build fails as WinForms and WPF are not yet available for ARM64 in .NET 5.0.
* Follow-Up: Update path to CefSharp.Test.dll.
* PR feedback: Also use RuntimeInformation for the .NET Framework example projects.
* PR feedback:
- Remove copying of CefRedist files in CefSharp.AfterBuild.targets which is no longer needed.
- Update .vsconfig to include the VC ARM64 build tools.
- Remove CefSharpBuildAction default to NoAction when Nuget 5.0 and Library
For those writing plugins this would have resulted in no files being copied, will rely on users setting
to NoAction themselves when required
- When $PlatformTarget is empty default to $Platform as the fallback, older Non SDK Style library projects
are known to not set PlatformTarget when Platform is AnyCPU which would have resulted in only the x86 files being copied.
- Fix formatting of CefSharp.Common.NETCore.targets
- The Debug PDBs will now use SourceLink
- The C++/CLI projects will use SourceLink
- CefSharp.Core.dll now generates/uses a ref assembly
- The managed (c#) projects still embed sources/symbols for Release builds
At some point we should investigate generating a snupkg to reduce the dll size
For class libraries we don't want to copy our files into their output folder by default as they won't actually,
so added CefSharpBuildAction and defaulted to NoAction (can be overridden by the user if required).
Consuming packages will have the transitive reference added and files copied into WinExe/Exe projects by default
- Previous fix worked for .Net Core 3.1, the .Net 5.0 SDK handles things differently
Have to remove the runtimeconfig.json file when publishing so the BrowserSubprocess
Runs for the SelfContained framework
- Fix formatting