mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
d5593bbffb
These changes are well tested in previous releases so going back to this structure for now
53 lines
2.2 KiB
XML
53 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<CefSharpTargetDir Condition=" '$(CefSharpTargetDir)' == '' "></CefSharpTargetDir>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<CefSharpOffScreenBinaries32 Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\*.*" />
|
|
<CefSharpOffScreenBinaries64 Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\*.*" />
|
|
<!-- Not currently used, might come in handy for someone though as it contains all x86 and x64 files -->
|
|
<CefSharpOffscreenBinariesAnyCPU Include="$(MSBuildThisFileDirectory)..\CefSharp\**\*.*" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
These item groups should be in the .props file, unfortunately Nuget 2.8.x doesn't gurantee the
|
|
correct ordering .props imports, which we require as this depends on the cef.redist packages
|
|
exporting an ItemGroup
|
|
-->
|
|
|
|
<!-- Copying all files here included those at are added As References so you can specify CefSharpTargetDir -->
|
|
<Choose>
|
|
<When Condition="'$(Platform)' == 'AnyCPU'">
|
|
<ItemGroup>
|
|
<None Include="@(CefSharpOffScreenBinaries32)">
|
|
<Link>$(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="@(CefSharpOffScreenBinaries64)">
|
|
<Link>$(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
</When>
|
|
<When Condition="'$(Platform)' == 'x64'">
|
|
<ItemGroup>
|
|
<None Include="@(CefSharpOffScreenBinaries64)">
|
|
<Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
</When>
|
|
<!-- x86, and Win32 -->
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<None Include="@(CefSharpOffScreenBinaries32)">
|
|
<Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
</Project>
|