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
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
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.
* Reflect correct target directory in msbuild message for x64 files on AnyCPU platform
* Introduce $(CefSharpTargetDir) msbuild property to make it easily overridable
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.
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