From 837506dd91575b4858d97b7729381b3c0a90e823 Mon Sep 17 00:00:00 2001 From: amaitland Date: Wed, 7 Mar 2018 16:43:52 +1000 Subject: [PATCH] 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 --- NuGet/CefSharp.Common.props | 38 ++++++++++++++++++++-------------- NuGet/CefSharp.OffScreen.props | 16 +++++++++----- NuGet/CefSharp.WinForms.props | 16 +++++++++----- NuGet/CefSharp.Wpf.props | 16 +++++++++----- 4 files changed, 56 insertions(+), 30 deletions(-) diff --git a/NuGet/CefSharp.Common.props b/NuGet/CefSharp.Common.props index f1ff286a3d..3216dbe105 100644 --- a/NuGet/CefSharp.Common.props +++ b/NuGet/CefSharp.Common.props @@ -3,7 +3,6 @@ - @@ -11,18 +10,6 @@ - - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll - True - - - @@ -33,12 +20,33 @@ $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll False - - $(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension) + + + $(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension) + PreserveNewest + + + $(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest + + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll + True + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll + True + + + diff --git a/NuGet/CefSharp.OffScreen.props b/NuGet/CefSharp.OffScreen.props index a76bc74d5e..7766ee1d37 100644 --- a/NuGet/CefSharp.OffScreen.props +++ b/NuGet/CefSharp.OffScreen.props @@ -5,11 +5,8 @@ - - - @@ -19,8 +16,17 @@ $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.OffScreen.dll False - - $(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension) + + + $(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension) + PreserveNewest + + + $(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest diff --git a/NuGet/CefSharp.WinForms.props b/NuGet/CefSharp.WinForms.props index abf43b0919..acc46b9c4a 100644 --- a/NuGet/CefSharp.WinForms.props +++ b/NuGet/CefSharp.WinForms.props @@ -5,11 +5,8 @@ - - - @@ -19,8 +16,17 @@ $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.WinForms.dll False - - $(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension) + + + $(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension) + PreserveNewest + + + $(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest diff --git a/NuGet/CefSharp.Wpf.props b/NuGet/CefSharp.Wpf.props index 3c98205cb4..cf1bc7b24d 100644 --- a/NuGet/CefSharp.Wpf.props +++ b/NuGet/CefSharp.Wpf.props @@ -5,11 +5,8 @@ - - - @@ -19,8 +16,17 @@ $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll False - - $(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension) + + + $(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension) + PreserveNewest + + + $(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension) PreserveNewest