Commit Graph

23 Commits

Author SHA1 Message Date
Alex Maitland 7c2226caff Nuget - Update dependency groups
Resolves nuget pack warning
2021-10-14 09:39:12 +10:00
Alex Maitland 66bb6c0f68 Nuget - Remove netcoreapp3.0 hacks
For those unable to upgrade to .Net Core 3.1 then the old packages should still be usable by specifying AssetTargetFallback as detailed in https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#assettargetfallback

Resolves #3444
2021-10-13 11:50:00 +10:00
Alex Maitland e4e0f22ca7 WinForms/WPF/OffScreen - Upgrade to SDK style projects and multi-target net452 and net462
Haven't tested the output nuget packages yet, we might still need to change the nuspec files to add a
dependency group.

Issue #3791
2021-09-05 15:09:35 +10:00
Alex Maitland e7d59c928e Revert "Nuget - Remove netcoreapp3.0 hacks"
This reverts commit 005f5c8862.
2021-03-14 19:41:28 +10:00
Alex Maitland 005f5c8862 Nuget - Remove netcoreapp3.0 hacks
To continue using these packages you can specify AssetTargetFallback
https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#assettargetfallback

Resolves #3444
2021-03-12 13:35:47 +10:00
Alex Maitland 8a367fbdc4 Refactor CefSharp.Core into CefSharp.Core.Runtime (#3311)
* Net Core - Rename CefSharp.Core.dll to CefSharp.Core.Runtime.dll

Partial rename, only Net Core, folder not renamed

* Net Core - Rename CefSharp.Core.RefAssembly to CefSharp.Core.netcore

Remove GenApi

* Core - Rename CefDragDataWrapper to DragData

Move into CefSharp.Core namespace

* WinForms/WPF/OffScreen - Migrate from GitLink command line to Nuget package

* Net Core - Refactor to have CefSharp.Core.dll contain only public Api

* Net Core - Remove CefSharp.Core.RefAssembly

* Net Core - Change CefSharp.Core.netcore output folder

* Net Core - Restructure nuget packages

* Net Core - Add Cefsharp.Core.Runtime.RefAssembly

* Net Core - Hide CLI/C++ classes from intellisense

Make sure users don't attempt to load them directly

* Rename CefSharp.Core to CefSharp.Core.Runtime

* Core - Restructure Net 4.5.2 packages to use CefSharp.Core.dll anycpu variant

Attempt to load CefSharp.Core.Runtime at runtime rather than having to use msbuild to copy the correct version

* Rename CefSharp.Core.netcore to CefSharp.Core

* WPF/WinForms/OffScreen - Change from x86/64 to AnyCPU

As they are all managed assemblies they can target AnyCPU.
Includes CefSharp.dll

* Convert RequestContextBuilder from C++ to C#

Now part of the CefSharp.Core PublicApi

* Update version number to 87.1.11

* Migrate more of the public Api to C#

* Net Core - Basic restructure complete

* Net Core - ModuleInitializer (Doesn't work yet)

* Remove direct references to BrowserSettings

* Net Core - ModuleInitializer load CefShar.Core.Runtime.dl

* Net Core - Load libcef.dll via CLR Module initializer

If no RID is specified then we can load libcef.dll using the module initializer

* Add version to CefSharp.Core

* Remove dependency on CefSharp.Core.Runtime
Rewrite common targets

* AnyCPU app.config transform

Improve AnyCPU support

* Improve Net Core 3 support
Only delete CefSharp.Core.Runtime.dll when AnyCPU

* Nuget - Add CefSharp.Core.Runtime reference when TargetFramework = NetCore

* Fix Typos

Based on #3306

* Net Core - Rename CefSharp.Core.Runtime RefAssembly source file

* Net Full - Generate CefSharp.Core.Runtime Ref Assembly

For now the powershell build script generates the .cs file based on a x86 release build.ps1
It's not possible to directly install GenApi as it requires a Sdk style project

* Net Core - Old packages copy files to required folders

* Test - Install newer .Net Compiler and set Lang Version to 7.3

* Net Core - Exclude Net 452 Runtime generated reference source

* Core - Add Refactoring TODO

* Ref Assembly - Generate source as part of build

- Move ref assembly source generate into GenerateRefAssemblySource.ps1
- Call before project build

Runs locally, see if Appveyor has a problem with the powershell script execution

* Core - Add more factory methods to create instances of managed wrappers

* Net Core - Make Initialzier properties internal

Not quite sure what the public API should look like as yet, so making internal for now.
2020-12-16 10:47:34 +10:00
amaitland de485a678d nuget - Update nupkg tags 2020-02-01 11:05:05 +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
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 a350f963f4 Nuget update copyright year 2019-02-07 13:22:37 +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
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
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +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
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
amaitland 60a1e615fc Upgrade to 3.2704.1429 - Required for following changes as cef.redist targets files have changed
Update CefSharp.Common.targets so it copies the cef.redist packages
Add support for Win32 target (obviously uses x86 files)
Update CefSharp.Native.props to copy the files also for local builds
Add AnyCPU target
Add CefLoader helper class for AssemblyResolver
2016-06-17 10:35:12 +10:00
amaitland 71ce888073 First steps to publishing a symbols package
Add pdb files to nuspec - they're only included when the -symbol flag is used
Add src files to nuspec - they're only included when the -symbol flag is used
Update appveyor.yml to push symbol packages to the MyGet feed
Add -symbol flag to build.ps1 so the symbol packages are generated
WinForms project not outputs pdb files
WinForms release builds are not optimized - probably should have been already
2016-02-26 11:49:52 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland fb3415b5bd Add rough outline of Readme.txt to nuget package
(Let's see if the readme is opened when using the CI packages)
2015-01-27 12:43:47 +10:00
jornh 8556704ac6 Attempt to see if NuDoq.org will pick up our xmldoc 2014-10-05 09:42:37 +02:00
amaitland 20ad0f47ed Update to -pre2 version number
Add CefSharp.WinForms.nuspec for generation of WinForms package
2014-09-29 19:48:21 +10:00