File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 9696 <!--
9797 For Sdk Projects the PlatformTarget is unreliable (https://github.com/dotnet/sdk/issues/1560)
9898 It can incorrectly be AnyCPU when it is infact an arch specific build
99+ When AnyCPU and Prefer32Bit we just set the PlatformTarget to x86 (only when CefSharpAnyCpuSupport is empty)
99100 -->
100101 <CefSharpPlatformTarget >$(PlatformTarget)</CefSharpPlatformTarget >
101102 <CefSharpPlatformTarget Condition =" '$(PlatformTargetAsMSBuildArchitecture)' == 'x86' OR '$(PlatformTargetAsMSBuildArchitecture)' == 'x64'" >$(PlatformTargetAsMSBuildArchitecture)</CefSharpPlatformTarget >
103+ <CefSharpPlatformTarget Condition =" '$(CefSharpPlatformTarget)' == 'AnyCPU' AND '$(Prefer32Bit)' == 'true' AND '$(CefSharpAnyCpuSupport)' == ''" >x86</CefSharpPlatformTarget >
102104 <CefSharpPlatformTarget Condition =" '$(CefSharpPlatformTargetOverride)' != ''" >$(CefSharpPlatformTargetOverride)</CefSharpPlatformTarget >
103105
104106 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments