From 2bdaa17d6474d900ef7bd7e235cdb0f37b359b2e Mon Sep 17 00:00:00 2001 From: ymccready Date: Fri, 25 Aug 2017 11:55:50 -0400 Subject: [PATCH] Prevent VS from always rebuilding projects that reference CefSharp when using AnyCPU platform (#2083) * Replacing Condition with tag * Replacing Condition on references with tag * Replacing Condition on references with tag * Replacing Condition on references with tag --- NuGet/CefSharp.Common.props | 64 ++++++++++++++++++++-------------- NuGet/CefSharp.OffScreen.props | 41 ++++++++++++++-------- NuGet/CefSharp.WinForms.props | 40 +++++++++++++-------- NuGet/CefSharp.Wpf.props | 40 +++++++++++++-------- 4 files changed, 116 insertions(+), 69 deletions(-) diff --git a/NuGet/CefSharp.Common.props b/NuGet/CefSharp.Common.props index 4cb6f9ee4..4109cd200 100644 --- a/NuGet/CefSharp.Common.props +++ b/NuGet/CefSharp.Common.props @@ -1,29 +1,41 @@ - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll - False - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll - False - - + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll + True + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.dll + True + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Core.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.dll + False + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Core.dll + False + + + + diff --git a/NuGet/CefSharp.OffScreen.props b/NuGet/CefSharp.OffScreen.props index fdef91ded..c2c511f90 100644 --- a/NuGet/CefSharp.OffScreen.props +++ b/NuGet/CefSharp.OffScreen.props @@ -1,18 +1,29 @@ - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.OffScreen.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.OffScreen.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.OffScreen.dll - False - - + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.OffScreen.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.OffScreen.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.OffScreen.dll + False + + + + - diff --git a/NuGet/CefSharp.WinForms.props b/NuGet/CefSharp.WinForms.props index d2460c124..c04837580 100644 --- a/NuGet/CefSharp.WinForms.props +++ b/NuGet/CefSharp.WinForms.props @@ -1,17 +1,29 @@ - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.WinForms.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.WinForms.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.WinForms.dll - False - - + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.WinForms.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.WinForms.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.WinForms.dll + False + + + + diff --git a/NuGet/CefSharp.Wpf.props b/NuGet/CefSharp.Wpf.props index 3724f1463..8755e8cc3 100644 --- a/NuGet/CefSharp.Wpf.props +++ b/NuGet/CefSharp.Wpf.props @@ -1,17 +1,29 @@ - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll - True - - - $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll - False - - + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.Wpf.dll + True + + + + + + + $(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.Wpf.dll + False + + + +