We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e63d590 commit 9041949Copy full SHA for 9041949
NuGet/CefSharp.Common.targets
@@ -1,5 +1,9 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <Target Name="PlatformCheck" BeforeTargets="ResolveAssemblyReferences" Condition="(('$(Platform)' != 'x86') AND ('$(Platform)' != 'x64'))">
4
+ <Error Text="$(MSBuildThisFileName) does not work correctly on '$(Platform)' platform. You need to specify platform (x86 / x64)." />
5
+ </Target>
6
+
7
<Target Name="CefSharpCommonCopyBinaries" BeforeTargets="AfterBuild">
8
<ItemGroup>
9
<CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" />
0 commit comments