From 325c083b946986d7fd2ca448cd9e2cfb271da27b Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Thu, 8 Apr 2021 10:47:07 +1000 Subject: [PATCH] Nuget - Exclude CefSharp.Core.Runtime.dll from bin when CefSharpTargetDir and targeting x64 See comments for details Fix formatting Issue #3319 --- NuGet/CefSharp.Common.targets | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/NuGet/CefSharp.Common.targets b/NuGet/CefSharp.Common.targets index 8f2c8a121..4d7afc5a5 100644 --- a/NuGet/CefSharp.Common.targets +++ b/NuGet/CefSharp.Common.targets @@ -1,16 +1,24 @@ + + <_CefSharpCoreRuntimeExclude>$(CefSharpPlatformTarget) + <_CefSharpCoreRuntimeExclude Condition="'$(CefSharpPlatformTarget)' == 'AnyCPU'">x86 + - - - + + + @@ -29,6 +37,8 @@ @@ -104,15 +114,15 @@ $(PlatformTarget) $(Platform) - x86 - x86 + x86 + x86 $(CefSharpPlatformTargetOverride)