amaitland
58f46cfbed
Core - Support building with VS 2026
...
Issue https://github.com/cefsharp/CefSharp/issues/5243
2026-09-12 18:08:42 +10:00
mistoll
64fbf2578b
Fix Visual Studio 2022 support ( #4346 )
...
Co-authored-by: Michael Stoll <michael.stoll@stolltec.com >
2022-12-21 05:27:02 +10:00
Alex Maitland
0d15db9e90
BrowserSubProcess - Increase x64/arm64 stack size
...
- For Net 4.5.2 it appears we need to resign the exe
- For .Net Core as the exes are native it doesn't look
like we need to sign them (the CefSharp.BrowserSubprocess.dll is actually
the one that's signed).
- Remove unused CefSharpBrowserSubprocessPostBuildEvent
Issue #3986
2022-03-01 15:29:57 +10:00
Alex Maitland
a6a66bed06
VS2022 - Very basic support for VS2022
...
Opening either solution in VS2022 should no longer prompt to upgrade VC++ version/Win10 SDK.
Having both VS2019 and VS2022 installed might be a problem if VS2022 doesn't have the required components installed.
Update .vsconfig Win10 SDK version to 19041 (same as Chromium requires for build)
2021-12-08 10:45:31 +10:00
Alex Maitland
67a08c47ee
BrowserSubProcess/Examples/Tests - Migrate to newer SDK Style projects
...
- Migrate to new SDK style projects
- Migrate to chromiumembeddedframework.runtime packages
- Remove old packages.config files
- Update post build event for BrowserSubprocess to set TSAware/LargeAddressAware
- Change project build order
Issue #3706
2021-10-12 19:48:11 +10:00
Alex Maitland
d350cad52a
Update to M93 ( #3781 )
...
* Upgrade to CEF 93.1.7+g9117d6a+chromium-93.0.4577.42 / Chromium 93.0.4577.42
- Core - Add basic ref counting implementation
IMPLEMENT_REFCOUNTING implementation uses atomic which
forces the VC++ compiler to compile as native which doesn't work for our managed ref classes.
- Use InterlockedCompareExchange for custom ref count reads
- Use InterlockedIncrement/InterlockedDecrement directly
- There's no memory barrier for HasOneRef/HasAtLeastOneRef as the read of a LONG should happen in one operation
on 32/64 bit architectures (at least that's my understanding at this point in time).
References:
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_x86_msvc.h#L125
https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_arm64_msvc.h#L107
https://github.com/chromiumembedded/cef/blob/4472/include/base/cef_atomic_ref_count.h#L114
https://github.com/chromiumembedded/cef/blob/4472/include/cef_base.h#L91
- Remove Microsoft.Net.Compilers package from projects
Now that we require a min of VS2019 to build there's no need for a custom compiler package
- Start removing VS2015/VC++2015 references
- Remove RegisterWidevineCdm
This is a breaking change. CEF will now automatically download the Widevine CDM component
Resolves #3767
- RequestContext.LoadExtension now uses managed to code spawn on CEF UI Thread
Avoid having to use cef_callback.h which was causing problems for x86 builds
2021-09-03 10:51:18 +10:00
Alex Maitland
fdba655cf5
Core - Change WindowsTargetPlatformVersion to 10.0
...
According to https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html#reply-548052
this will use the 'latest installed version of Windows 10 SDK'
Issue #3197
2020-10-10 20:34:21 +10:00
amaitland
12edb67220
VS2019 Support - Set VisualStudioProductVersion to VS2019 if libcef_dll_wrapper.lib otherwise fallback to VS2017
...
Follow up to #2924
2019-11-03 11:32:57 +10:00
Mitch Capper
f83a37536b
Visual studio 2019 support (does not do by default) also bumped SDK to 18362 as CEF 77>= require it
...
Closes #2628
2019-10-06 14:29:43 -07:00
amaitland
ee06759c08
VS2019 Support - Change VC++ Target and add .vsconfig for VS2019
...
Reference https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-community?view=vs-2019
2019-10-03 20:31:35 +10:00
Shaojun Li
fc00213859
VS2019 build support with VS2017 toolset ( #2816 )
...
* VS2019 build support with VS2017 toolset
2019-06-24 22:05:46 +10:00
amaitland
a38df4a268
Default builds to using VS2015
...
Builds are now done using VS2015 which will require VC++ 2015 (or VC++ 2017 as they are compatible)
Remove VS2013 target from build.ps1
2018-02-05 17:23:34 +10:00
amaitland
05f0fa025a
VS2017 Build with PlatformToolset v141
...
VC++2017(v141) is compatible with VC++2015(v140), which enables us to use the v141 toolset to compile against the
v140 libcef_dll_wrapper.lib - not necessary to install the VC++2015 compiler as part of a clean VS2017 install
Follow up to #2179
2017-12-20 10:21:08 +10:00
Jeroen Janssen
049181b2bd
VS2017 build support (using the VS2015 tooling) ( #2179 )
...
* initial vs2017 build support
* update nuget retrieval url
apparently http://nuget.org/nuget.exe is version 2.8, which is fairly
old
* enable child process debugging
2017-11-29 22:47:39 +02:00
amaitland
9bcad0fa52
Remove VS2010/2012 as CEF no longer builds on those older versions
2015-09-01 22:11:37 +10:00
amaitland
117ad0531b
Update CefSharp.props to use the correct product version
2015-09-01 22:07:44 +10:00
Erguotou
fac49202c6
Add Visual Studio 2015 support
...
Redirect VS2015 to use VS2013 binaries and toolset in CefSharp.props.
Added .vs folder to .gitignore, as it contains the .suo files and
intellisense database used by VS2015. See
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6079923-store-project-related-information-in-vs-folder-to
for more details.
2015-04-27 15:02:58 -07:00
jornh
d18d41b77f
Revert "More DRY with $(CefSdkDir)"
...
This reverts commit e25e55cdf9 .
2014-03-22 13:59:52 +01:00
jornh
e25e55cdf9
More DRY with $(CefSdkDir)
2014-03-22 13:46:13 +01:00
jornh
9a53c3ac11
CefSharp.props addition needed for VS2013
...
+ a fix to the temp NuGet.config VS2010 was yelling about
2014-03-22 08:04:56 +01:00
Marcin Wisnicki
67a024e0a3
Use conditional elements to support VS2010.
2013-05-28 13:41:23 +02:00