Commit Graph

294 Commits

Author SHA1 Message Date
Jozef Izso e0e23be25e Fix whitespace in .targets files (#3156) 2020-06-21 07:00:06 +10:00
Alex Maitland 72840a841d Update Readme.txt
Update .Net Core link
2020-06-09 20:58:38 +10:00
amaitland f8ffbc7aa5 Nuget - Set PublishState Include for <None/> entries
Hopefully this will allow support for ClickOnce installer
2020-05-21 20:11:38 +10:00
amaitland f8900fdf62 PackageReference - Tabs to spaces 2020-02-01 14:55:18 +10:00
amaitland de485a678d nuget - Update nupkg tags 2020-02-01 11:05:05 +10:00
amaitland 788cc2ef68 PackageReference - Set minClientVersion="4.0.0"
Issue #2795
2020-01-30 20:49:30 +10:00
amaitland bd9e568305 Nuget - Additional PackageReference set of nupkg files
**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
2020-01-30 20:24:59 +10:00
amaitland 99fedd23ab CefSharp.Common.targets - Remove message output for PlatformCheck as they're not displayed in a fashion users will actually see them
- Tabs to spaces for consistency
2020-01-21 19:41:18 +10:00
amaitland 8559aa6e50 CefSharp.Common.targets - Update link, condense wording
Issue #3009
2020-01-21 13:38:55 +10:00
amaitland fb6990a195 CefSharp.Common.targets - Improve PlatformCheck error messaging
Only the error will be shown in the VS error pane, hopefully the additional messages are useful.

Issue #3009
2020-01-21 12:33:01 +10:00
Alex Maitland 922463c87d Update Readme.txt
Add .Net Core link and revise app.manifest entry
2019-12-21 09:01:12 +10:00
amaitland 1c42708a14 Nuget - Add Visible false to <None/> entries
Issue #2456
2019-11-03 11:07:09 +10:00
amaitland 136c98b101 Nuget Packages - Default CefSharpTargetDir to '.' so support Desktop Bridge apps
Resolves #2642
2019-10-01 20:54:13 +10:00
Konstantin Preißer ce7021226d Add a ".NETCoreApp3.0" dependency to the .nuspec files. (#2894)
This ensures the transitive dependencies (CefSharp.Common) are correctly resolved in .NET Core 3.0 projects.

Contributes to #2796
2019-09-07 05:38:27 +10:00
Alex Maitland 70de3a6d9c Add Initial IRenderProcessHandler.OnContextCreated/Released implementation (#2697)
* 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
2019-03-20 20:33:10 +10:00
amaitland fde8fc67e7 Nuget packages - Move the item groups that contain folders into the props files
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
2019-02-20 18:48:49 +10:00
Chris a9b3c36f77 Build.ps1 - Automated more tasks relating to updating CefSharp version and copyright year (#2640)
* 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
2019-02-15 21:40:25 +01:00
amaitland 3c650a0121 CefSharp.Common.props - Remove <None/> entries from targets
Should have been removed in https://github.com/cefsharp/CefSharp/commit/d5593bbffb23dff216571dc8f12b55458b788352#diff-7ce5a629cd14a698d255731fe97f9f1d
2019-02-07 13:22:38 +10:00
amaitland a350f963f4 Nuget update copyright year 2019-02-07 13:22:37 +10:00
amaitland 92ddcbca5d NuGet/Readme.txt - Add app.manifest info
Also add link to General Usage Need to know/limitations section

Resolves #2524
2018-09-28 12:03:48 +10:00
amaitland d5593bbffb Nuget - Revert back to the 63 package props/targets files
These changes are well tested in previous releases so going back to this structure for now
2018-08-12 15:36:26 +10:00
amaitland 8f72479738 Nuspec - Experiment with adding dependencies to a dependency group
Interesting to see if this forces a minimum version of .Net 4.5.2
2018-07-17 20:44:58 +10:00
Alex Maitland 8b64cc31d9 Update Readme.txt
Make `x86`, `x64` target info a little more detailed.
2018-07-17 14:54:04 +10:00
amaitland d56eed0f06 NuGet/CefSharp.Common.props - For x86/x64 platforms the BrowserSubProcess wasn't being copied
Revert to Private false and let the None target copy the files
2018-05-01 12:23:10 +10:00
amaitland 837506dd91 Nuget - Copy the x86 libs before the x64 libs for AnyCPU target
Hopefully this resolves the issue with the VS Designer picking up the x64 ones.

Issue #2276
2018-03-07 16:43:52 +10:00
amaitland 298e4c224a Nuget - CefSharp.Common use the props file to copy the files 2018-03-07 13:31:37 +10:00
amaitland baf8058aeb Nuget - First attempt at removing targets files for OffScreen, WinForms and WPF packages
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
2018-03-07 13:15:43 +10:00
amaitland 8dd27ab03d Nuget Props - Another attempt at #2276 2018-03-07 11:35:44 +10:00
amaitland 894787f877 Nuget props - invert when and otherwise so x86 comes first
Problem with VS was always picking up the x64 version when attempting to use designer

Attempt to fix #2276
2018-03-06 15:32:35 +10:00
amaitland cdb8d02baa Nuget CefSharp.Common.targets error message to clarity that you must set the solution and platform target
Resolves #2287
2018-03-05 16:09:44 +10:00
amaitland 4ff892bc48 Nuget - Fix casing of AnyCPU (was previously AnyCpu)
Related to #2276
2018-02-14 19:24:31 +10:00
amaitland 72ce8cd87f Nuget\Readme.txt - Update VC++ Requirement 2018-02-07 13:24:49 +10:00
amaitland 0e25149c96 Nupkg Restructure
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
2018-01-23 12:21:14 +10:00
amaitland 247d0d688d Nuget packages - create public properties for common, winforms, wpf and offscreen targets so they can be reused if required
Combine Win32 and x86 target in CefSharp.Common.targets
2018-01-22 15:49:26 +10:00
amaitland 4f621c197a Untabify
[skip ci]
2017-12-19 11:48:56 +10:00
amaitland 2c935268e6 Upgrade to CEF 3.3239.1700
Update version numbers to 63.x
Remove EnsureNuGetPackageBuildImports targets (newer nuget restore method should always be used)
cef.redist targets updated as package structure changed with commit https://github.com/cefsharp/cef-binary/commit/982a6330e70a75860bc6ecb6f84d55456b847d68
(Swiftshader should now be supported)
2017-12-19 11:44:34 +10:00
nisbus bff333a201 Change the targets to BeforeBuild (#2130)
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.
2017-12-01 23:00:17 +02:00
ymccready 2bdaa17d64 Prevent VS from always rebuilding projects that reference CefSharp when using AnyCPU platform (#2083)
* 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
2017-08-25 17:55:50 +02:00
Alex Maitland 223334b025 Update Readme.txt
Update Designer support comment
Add MSDN reference for changing solution platform.
2017-03-22 12:05:44 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland e9a5434805 Add general usage guide to NuGet/Readme.txt 2017-01-16 11:18:33 +10:00
amaitland 8c38bfd862 Nuspec pdb errors - some copy and paste errors meant that x64 versions of the xml and pdb files were being incorrectly included 2017-01-06 16:09:16 +10:00
Alex Maitland 51ef5d76c1 Update Readme.txt
Tutorials are no longer maintained, best place to start is the MinimalExample
2016-12-13 23:53:21 +10:00
amaitland cba32f11af Add FrameworkVersionCheck to CefSharp.Common.targets - hopefully this will make it quite clear
Not yet tested
2016-10-24 09:36:02 +10:00
Alex Maitland 25754770cc Update Readme.txt
Add `Debug.log` reference.
2016-10-20 19:42:32 +10:00
Alex Maitland 0b331319b8 Update Readme.txt
Fix typo
2016-10-11 07:38:47 +10:00
Alex Maitland 5deffb0b91 Update Readme.txt
Add reference to AnyCpu support
Add link to GitHub releases
2016-10-05 07:48:49 +10:00
amaitland 790ad26f8d Add release notes section to Nuspec files, see if the url is updated based on the package version 2016-08-29 08:22:36 +10:00
intrueder 2f6916504b Configure directory where msbuild will copy CefSharp files (#1753)
* Reflect correct target directory in msbuild message for x64 files on AnyCPU platform

* Introduce $(CefSharpTargetDir) msbuild property to make it easily overridable
2016-08-19 11:13:42 +10:00
amaitland 11edc4f403 Re-add PlatformCheck to CefSharp.Common.targets - as AnyCPU won't work out of the box we'll still advise to use x86/x64, to use AnyCPU you'll need to
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.
2016-06-20 12:50:35 +10:00