Commit Graph

51 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 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 ea578aed32 Nuget - Formating (tabs to spaces) 2021-02-04 10:55:30 +10:00
Alex Maitland 9d7cf7fcbb Nuget - Add support for buildTransitive
- Add support for buildTransitive folder
- Show error when MSBuild didn't copy files (unable to use a Copy Task as props files aren't imported at that point)
- Remove FrameworkVersionCheck (we now have our dlls in a lib\net452) folder so nuget should complain without our custom check)

Issue #3319
2021-01-29 15:05:20 +10:00
Alex Maitland f092f2a398 Nuget - Improve package.config support
- Add debugging target (optional)
- Add check for file exists on disk to perform copy if required
2021-01-29 15:05:19 +10:00
Alex Maitland 536c49629c Core - Remove CefSharp.Core.Runtime.RefAssembly
No longer generate a ref assembly for the older net452 packages, CefSharp.Core.Runtime.dll should now purely be
a runtime dependency
2021-01-29 15:05:19 +10:00
Alex Maitland 8351fac825 Nuget - Use full assemblies as Appveyor isn't building ref assemblies
https://ci.appveyor.com/project/cefsharp/cefsharp/builds/36859715/job/lmn6djbvfijk3fui#L591
2020-12-16 16:17:14 +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
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 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
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 e3c0d8b013 Formatting of NuGet/CefSharp.Common.nuspec file was still a little out 2016-03-16 11:58:30 +10:00
amaitland 3b0a934ffb Untabify 2016-03-16 11:49:39 +10:00
amaitland 6e66d172a7 Cleanup bin/obj folder output for the VC++ projects - more c# style now than vc++ (overall consistency)
Update nuspec file to reference new locations
2016-03-16 11:36:23 +10:00
amaitland a1ea193f36 Symbols - Forgot to include pdb files for CefSharp.dll and CefSharp.Core.dll 2016-02-26 14:36:08 +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 34398f0c3f Merge remote-tracking branch 'origin/master' into cef/2272 2015-04-25 02:55:40 -04: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
rassilon 314add6fad Add comment in other .nuspec files to CefSharp.Common explaining why the DLLs don't go in lib\net40 etc... 2015-04-24 11:50:42 -04:00
amaitland 87027e8362 Untabify! 2014-11-26 16:54:14 +10:00
amaitland 3e9c7e84ac Update CefSharp.Common.nuspec as package names have changed. 2014-11-06 11:41:30 +10:00
jornh e26c733442 Merge branch 'cef/2062' into pretend_WIPsMaster
Conflicts:
	CefSharp.Core/Internals/ClientAdapter.h
	CefSharp.Core/Wrappers/CefSubprocessWrapper.h
	CefSharp.Example/CefExample.cs
	CefSharp.Wpf/ChromiumWebBrowser.cs
	NuGet/pack.bat
	build.ps1
2014-11-02 19:45:29 +01:00
Peter Rekdal Sunde 27c61fad28 depend on redist for entire build matrix 2014-10-08 12:51:01 +02:00
Peter Rekdal Sunde 75d4606a50 redist version should always match package version 2014-10-08 12:26:04 +02:00
Peter Rekdal Sunde 09f7fd08d5 upgrade cef.redist to 3.2062.1856 2014-10-07 21:38:24 +02:00
amaitland 08f1ff96de Missed reverting some nuget matrix changes 2014-10-07 11:30:55 +10:00
amaitland 72517f17f6 Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP 2014-10-07 11:07:19 +10:00
jornh 8556704ac6 Attempt to see if NuDoq.org will pick up our xmldoc 2014-10-05 09:42:37 +02:00
amaitland 19919583af Remove -pre2 from dependency 2014-10-04 12:37:13 +10:00
amaitland f58505f7ff Revert to simply style Nuget for now - will readdress after releases have been done 2014-10-03 19:06:13 +10:00
amaitland b84f76eb53 Merge branch 'JsBinding_WIP' into JsBinding/Wip2 2014-10-03 18:37:09 +10:00
jornh c5428255b7 Re-add upper bound on cef.redist versions 2014-09-30 05:14:27 +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
amaitland 5c465fe325 Update to -pre1 2014-09-26 13:10:08 +10:00
amaitland aa92bc65b6 Simplify package structure 2014-09-22 14:04:42 +10:00
amaitland 07ff564b8e Revert to using latest nuget pre version of cef redist 2014-09-22 13:58:47 +10:00
amaitland 04aaaae0e2 Fix win32 common nuspec 2014-09-22 13:22:44 +10:00
Peter Rekdal Sunde 770ff15486 update cef.sdk/redist to 3.1750.1738-pre0 2014-09-18 17:44:03 +02:00
jornh e87d1d0de0 Pack Win32 as -pre1b 2014-06-22 11:50:59 +02:00
jornh 2c85e3a4e8 CefSharp.Core.dll wildcard on source platform dir 2014-06-21 00:34:36 +02:00
jornh 59266e50fd A clean build is a clean build ...
... Which means there are no leftover x64 binaries to include in a x86 package
2014-06-20 17:18:47 +02:00
jornh a58ef26a15 WIP on factoring x64 and x86 out as parameter to *.nuspec files 2014-06-20 10:36:07 +02:00
jornh a35f526f31 Let's add a <licenseUrl> to packages 2014-04-06 18:40:31 +02:00
jornh 902da2210e Set the stage to pack and push 31.0.0-pre1 CefSharp NuGet for #137
- Bump version series from 3.<something> to the new 31.0.0-pre1. Note with this we don't even have a clash with unofficial version id's pushed to staging.nuget.org :-)
- Change `cef.redist` dependency version indicator to allow auto-update or install of latest & greatest in the 3.1650.1562 series
2014-04-06 14:26:52 +02:00
jornh 11567eed63 Good enough that CS.MinEx want's to build ...
This is what goes into the `CefSharp.Common` and `.Wpf` Nugets version 3.31.0.pre-1
2014-03-28 17:57:29 +01:00