Commit Graph

188 Commits

Author SHA1 Message Date
Alex Maitland
5d0c8ee766 OffScreen - SelfHost BrowserSubProcess for .Net 5.0 PublishSingleFile 2021-08-25 14:07:05 +10:00
Alex Maitland
6a1fd8cf3e
Upgrade to 92.0.260 (#136)
* Upgrade to 92.0.250-pre

* Upgrade to 92.0.260
2021-08-20 13:05:02 +10:00
0x0309
e51a71afd7
copy crash_reporter.cfg to bin (#135) 2021-08-10 15:39:50 +10:00
Alex Maitland
c5a8b3275f
Upgrade to 91.1.210 (#134)
* Upgrade to 91.1.60-pre

* AnyCPU - Use the new CefRuntime.SubscribeAnyCpuAssemblyResolver method

Now CefSharp.dll is an AnyCPU dll the code for AnyCPU dll resolution can be added to the library.
Exact same code, just included in CefSharp.dll

* Upgrade to 91.1.160

* Upgrade to 91.1.210
2021-06-22 12:12:03 +10:00
Alex Maitland
d04f2840ca
Upgrade to 90.6.70 (#133)
* Upgrade to 90.6.70
2021-06-02 15:50:56 +10:00
Alex Maitland
db6479b52e Enable Dependency Check 2021-04-07 15:52:56 +10:00
Alex Maitland
55bcee859a
Upgrade to 89.0.170 (#132)
* Upgrade to 89.0.140-pre

- Dependency Check is currently disabled

* Upgrade to 89.0.170
2021-04-07 15:39:45 +10:00
Alex Maitland
1d55d776cf Net 472 - Add AnyCPU Platform/PlatformTarget 2021-03-16 15:23:09 +10:00
Alex Maitland
b7b606deec WinForms - Move AfterBuild target after Sdk.targets
Wasn't working before
2021-03-09 09:34:28 +10:00
Alex Maitland
07049f5e62
Upgrade to 88.2.90 (#131)
* Upgrade to v88.2.40-pre

WPF - Add https scheme to default URL to workaround upstream issue
https://bitbucket.org/chromiumembedded/cef/issues/3079/cant-load-urls-without-scheme

* Net Core - Add AnyCPU Platform to projects/solution

* Net Core - Add RuntimeIdentifier based on PlatformTarget

- Set RuntimeIdentifier based on PlatformTarget (PlatformTarget isn't set of AnyCPU)
- Set SelfContained to false so as not to provide a Framework Dependant build (don't include the whole .net framework)

* WPF/WinForms - Change CefSharpBuildAction to Content

For testing of ClickOnce publish

* Net 5.0 - Update to include PublishSingleFile settings

- .Net 5.0 Publish Settings for PublishSingleFile
  https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file
  Defaults differ compared to .Net Core 3.1
- Set RollForward to Major so runs on newer runtime version
- Add net5.0-windows TargetFramework

* .Net 5.0 - Publish Single Exe Example

- Use the main application exe as the BrowserSubprocess when self publishing a .Net 5.0 exe
- Only the WPF and WinForms examples have been updated

https://github.com/cefsharp/CefSharp/issues/3407

* Upgrade to 88.2.90
2021-03-05 11:15:53 +10:00
Alex Maitland
f65fe59122 WPF/WinForms - Change CefSharpBuildAction to Content
For testing of ClickOnce publish
2021-02-14 14:49:35 +10:00
Alex Maitland
24e516dd63 CefSharp.MinimalExample.sln - Add AnyCPU Solution Platform 2021-02-08 16:53:54 +10:00
Alex Maitland
6178235e18 Add CefSharpAfterBuildDiagnostic afterbuild target
Add diag output as part of the build process
2021-02-05 14:15:49 +10:00
Alex Maitland
114406cefc
Update README.md
Update .Net Core section
2021-02-03 15:59:39 +10:00
Alex Maitland
95f428829b
Upgrade to 87.1.132 (#130)
* Upgrade to 87.1.12-CI3846

- Upgrade to Net Core 3.1 (Required to use new Net Core packages)
- Migrate to NetCore specific pages

* Upgrade to 87.1.130-pre

* OffScreen - Remove UseWindowsForms from csproj file

No longer required as we use the Drawing nuget package
Also causes a problem with Console.ReadLine

* README.md - Update Net Core Section

* WinForms - Add new SdkStyle .Net 4.7.2 project and solution

TODO: Add OffScreen and WPF project files

* Upgrade to 87.1.131-pre

* Upgrade to 87.1.132
2021-02-03 11:06:58 +10:00
Alex Maitland
6b92ff6dd0
Upgrade to 86.0.241 (#129)
* Upgrade to 86.0.240-pre

* Upgrade to 86.0.241
2020-11-28 19:55:09 +10:00
Alex Maitland
829fbec6d1
Upgrade to 85.3.130 (#115)
* Upgrade to 85.3.130
2020-10-25 13:34:11 +10:00
amaitland
4576b0a2ad WPF/WinForms - Improve WebRTC Example and links 2020-09-09 17:53:53 +10:00
amaitland
337b617b46 WPF - Use Microsoft.Xaml.Behaviors.Wpf
Migrate from System.Windows.Interactivity.WPF to Microsoft.Xaml.Behaviors.Wpf
2020-09-09 17:53:53 +10:00
amaitland
4ce32a4778 Net Core - Exclude bin/obj folders from project files 2020-09-09 17:53:53 +10:00
amaitland
2987ed1230 Upgrade to 84.4.10 2020-09-09 17:53:53 +10:00
amaitland
5b253e9de1 Git Ignore bin.netcore obj.netcore 2020-09-09 17:53:53 +10:00
amaitland
502fba3f00 Net Core - Output to netcore bin/obj folders 2020-09-09 17:53:53 +10:00
amaitland
c5da7bb069 Upgrade to 84.3.10-pre
First attempt at using new UpdateNugetPackages.bat

Some reason nuget update didn't correctly upgrade it added, had to manually edit the file.
2020-09-09 17:53:53 +10:00
amaitland
1c04fc4979 Nuget Update - Add batch to update nuget packages
First attempt, requires nuget.exe in folder directly above solution directory
2020-09-09 17:53:53 +10:00
Alex Maitland
368f4a52ab
Upgrade to 83.4.20 (#94)
* Upgrade to 83.4.20
* OffScreen - Fix Google search javascript
2020-07-02 11:08:43 +10:00
Alex Maitland
3c5a4bce2e
Update README.md
Improve .net Core support section
2020-06-09 20:57:51 +10:00
Alex Maitland
3445779de5
Upgrade to 81.3.100 (#87)
* Upgrade to 81.3.20-pre

* WinForms/WPF - Update enable-media-stream command line arg

Remove the "1" as it's not required, does nothing, there is no need to pass in a second argument

Issue https://github.com/cefsharp/CefSharp/issues/2858

* Upgrade to 81.3.100
2020-05-23 12:11:28 +10:00
amaitland
611760a153 Upgrade to 79.1.360 2020-02-11 07:56:02 +10:00
amaitland
898eb755c6 .Net Core - Update example to self host the BrowserSubProcess
Eliminates the requirements for .Net 4.5.2, the application exe is used as the browsersubprocess.
Additional manual import of CefSharp.BrowserSubProcess.Core is required see csproj file for example

TODO: OffScreen version is crashing on exit so it's been updated, it just isn't using itself as the BrowserSubProcess
2020-02-10 12:20:12 +10:00
amaitland
2e80bd8db0 Output bin to net452 folder and remove BaseIntermediateOutputPath
Unable to get solutions compiling side by side even with specifying BaseIntermediateOutputPath
Giving up for now, just output the bin to a sub folder so it's cleaner
2020-02-01 11:40:39 +10:00
amaitland
1a03d6ef01 Allow for building both solutions without having to delete the obj folders
Set BaseIntermediateOutputPath so the different solutions use different obj folders
2020-02-01 11:24:11 +10:00
amaitland
25785ab9a0 Update .Net Core projects to 79.1.350 2020-01-30 11:54:02 +10:00
Alex Maitland
a71f3c5d9f
Upgrade to 79.1.350 (#61)
* Upgrade to 79.1.350
2020-01-29 13:46:47 +10:00
Alex Maitland
b956db6781
Update README.md
Add reference to netcore.csproj for example
2019-12-18 21:33:26 +10:00
amaitland
fcbdda0964 WinForms - Add some extra Dispose checks to InvokeOnUiThreadIfRequired
Also added stackoverflow link regarding calling after the control has been disposed
2019-12-14 11:56:47 +10:00
amaitland
0d386bf7b5 WinForms - Remove Dock = DockStyle.Fill as it's been the default for a long time 2019-12-14 11:52:53 +10:00
amaitland
282d2c0bd3 WinForms/WPF/OffScreenRemove CefSharpSettings.SubprocessExitIfParentProcessClosed = true; as it's now the default 2019-12-14 11:52:37 +10:00
amaitland
ac87ce9b5a Enable crash reporting by default
- Set CopyToOutputDirectory in csproj files
- It's important to make sure the crash_reporter.cfg is copied to the bin folder, it has to be next to your application exe.
- Specify AppName in crash_reporter.cfg to have dumps generated to a folder in this case they will be generated at C:\Users\[CurrentUser]\AppData\Local\CefSharp.MinimalExample\User Data
- If you are having trouble getting a dump, run your exe outside of Visual Studio, the debugger can sometimes interfere

You can test crash reporting as outlined in https://bitbucket.org/chromiumembedded/cef/wiki/CrashReporting.md#markdown-header-testing
Loading `chrome://crash` in the browser will crash the render process

To confirm that crash reporting is enabled check the debug.log file, you should see a number of entries like Crash reporting enabled for process: browser
2019-11-15 08:13:59 +10:00
amaitland
c03e51151d Upgrade .Net Core examples to 75.1.143 2019-11-03 13:08:45 +10:00
amaitland
ec43942523 Upgrade to 75.1.143 2019-11-03 13:04:07 +10:00
Konstantin Preißer
9632e10c14 Add .NET Core 3.0 WinForms/WPF/OffScreen examples (#57)
* Add minimal WinForms and WPF examples using .NET Core 3.0 projects, reusing the existing code files.

Issue cefsharp/CefSharp#2796

* Follow-Up: Add a minimal OffScreen example using a .NET Core 3.0 project.

* Upgrade to 75.1.142.

* Update README.md to mention .NET Core support.

* Fix typo.

* Add comment about UseShellExecute.
2019-09-10 18:20:34 +10:00
amaitland
63a8eb31cc Upgrade to 75.1.142 2019-09-09 20:46:40 +10:00
amaitland
9336e6b9d6 Upgrade to 75.1.141 2019-08-15 20:47:43 +10:00
amaitland
23a1aa66b8 WinForms - OnIsBrowserInitializedChanged custom event args removed
https://github.com/cefsharp/CefSharp/pull/2710
2019-08-15 20:47:43 +10:00
amaitland
603088e28d Upgrade to 75.1.140-pre01 2019-08-15 20:47:43 +10:00
Alex Maitland
574fe42bd1
Upgrade to 73.1.130 (#54)
* Upgrade to 73.1.130
2019-05-03 22:36:49 +10:00
amaitland
c40f5fb7ba Upgrade to 71.0.2 2019-03-10 10:36:47 +10:00
amaitland
c95e49d473 Upgrade to 71.0.1 2019-03-10 10:36:46 +10:00
Alex Maitland
b2324951f7
Upgrade to 71.0.0 (#52)
* Upgrade to 71.0.0
2019-01-21 20:32:19 +10:00