Commit Graph

17 Commits

Author SHA1 Message Date
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
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 298e4c224a Nuget - CefSharp.Common use the props file to copy the files 2018-03-07 13:31:37 +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 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
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
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
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 9041949099 Add platform check to give error if using platform other than x86 or x64 2014-10-22 15:39:09 +10:00
jornh bcfcbc108a Cefsharp.Common.targets: cleanup and don't hijack AfterBuild 2014-04-07 21:43:22 +02:00
jornh 6059982ea6 NuGet .spec updates for #288 2014-03-27 05:44:36 +01:00