You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NuGet/CefSharp.Common.targets
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -298,12 +298,12 @@
298
298
-->
299
299
<UsingTaskTaskName="TransformXml"AssemblyFile="$(CefSharpTransformXmlDllPath)"Condition="Exists('$(CefSharpTransformXmlDllPath)') AND '$(CefSharpPlatformTarget)' == 'AnyCPU' AND '$(CefSharpAnyCpuSupport)' == ''" />
300
300
301
-
<TargetName="CefSharpCommonAnyCPUConfigTransform"AfterTargets="_CopyAppConfigFile"Condition="Exists('$(CefSharpTransformXmlDllPath)') AND '$(CefSharpPlatformTarget)' == 'AnyCPU' AND '$(CefSharpAnyCpuSupport)' == ''">
301
+
<TargetName="CefSharpCommonAnyCPUConfigTransform"AfterTargets="_CopyAppConfigFile"Condition="'@(AppConfigWithTargetPath)' != '' AND Exists('$(CefSharpTransformXmlDllPath)') AND '$(CefSharpPlatformTarget)' == 'AnyCPU' AND '$(CefSharpAnyCpuSupport)' == ''">
<TargetName="CefSharpPlatformCheck"BeforeTargets="ResolveAssemblyReferences"Condition="!Exists('$(CefSharpTransformXmlDllPath)') AND '$(CefSharpPlatformTarget)' == 'AnyCPU' AND '$(CefSharpAnyCpuSupport)' != 'true'">
306
+
<TargetName="CefSharpPlatformCheck"BeforeTargets="ResolveAssemblyReferences"Condition="('@(AppConfigWithTargetPath)' == '' OR !Exists('$(CefSharpTransformXmlDllPath)')) AND '$(CefSharpPlatformTarget)' == 'AnyCPU' AND '$(CefSharpAnyCpuSupport)' != 'true'">
307
307
<ErrorText="$(MSBuildThisFileName) is unable to proceeed as your current PlatformTarget is '$(CefSharpPlatformTarget)'. To target AnyCPU please read https://github.com/cefsharp/CefSharp/issues/1714. Alternatively change your PlatformTarget to x86 or x64 and the relevant files will be copied automatically."HelpKeyword="CefSharpSolutionPlatformCheck" />
0 commit comments