mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
15 lines
877 B
XML
15 lines
877 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Target Name="PlatformCheck" BeforeTargets="ResolveAssemblyReferences" Condition="(('$(Platform)' != 'x86') AND ('$(Platform)' != 'x64'))">
|
|
<Error Text="$(MSBuildThisFileName) does not work correctly on '$(Platform)' platform. You need to specify platform (x86 / x64)." />
|
|
</Target>
|
|
|
|
<Target Name="CefSharpCommonCopyBinaries" BeforeTargets="AfterBuild">
|
|
<ItemGroup>
|
|
<CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" />
|
|
</ItemGroup>
|
|
<Message Importance="high" Text="-- CefSharp.Common.targets: Copying files from $(MSBuildThisFileDirectory)..\CefSharp\$(Platform) to $(TargetDir)" />
|
|
<Copy SourceFiles="@(CefSharpBinaries)" DestinationFolder="$(TargetDir)" />
|
|
</Target>
|
|
</Project>
|