Commit Graph

12 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 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 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 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
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
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 aee3c83b70 Update project references in nuget props files 2014-11-28 12:23:51 +10: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