admin
2020-06-22 924bdf1c9fb74babf2438d5545db3594756625d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?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>
 
  <!--
    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="@(CefSharpWinFormsBinaries32)">
          <Link>$(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension)</Link>
          <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
          <Visible>false</Visible>
        </None>
        <None Include="@(CefSharpWinFormsBinaries64)">
          <Link>$(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension)</Link>
          <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
          <Visible>false</Visible>
        </None>
      </ItemGroup>
    </When>
    <When Condition="'$(Platform)' == 'x64'">
      <ItemGroup>
        <None Include="@(CefSharpWinFormsBinaries64)">
          <Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link>
          <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
          <Visible>false</Visible>
        </None>
      </ItemGroup>
    </When>
    <!-- x86, and Win32 -->
    <Otherwise>
      <ItemGroup>
        <None Include="@(CefSharpWinFormsBinaries32)">
          <Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link>
          <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
          <Visible>false</Visible>
        </None>
      </ItemGroup>
    </Otherwise>
  </Choose>
</Project>