mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
fde8fc67e7
Props are included before targets (usually top of build file), so this makes them more accessible. Previously you'd have to include user code after the .targets file to access the item groups
30 lines
1.2 KiB
XML
30 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup>
|
|
<CefSharpWinFormsBinaries32 Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\*.*" />
|
|
<CefSharpWinFormsBinaries64 Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\*.*" />
|
|
<!-- Not currently used, might come in handy for someone though as it contains all x86 and x64 files -->
|
|
<CefSharpWinFormsBinariesAnyCPU Include="$(MSBuildThisFileDirectory)..\CefSharp\**\*.*" />
|
|
</ItemGroup>
|
|
|
|
<Choose>
|
|
<When Condition="'$(Platform)' == 'x64'">
|
|
<ItemGroup>
|
|
<Reference Include="CefSharp.WinForms">
|
|
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x64\CefSharp.WinForms.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</When>
|
|
<!-- x86, Win32 and AnyCPU -->
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<Reference Include="CefSharp.WinForms">
|
|
<HintPath>$(MSBuildThisFileDirectory)..\CefSharp\x86\CefSharp.WinForms.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
</Project>
|