|
8 | 8 | <Error Text="CefSharp requires .Net 4.5.2 or higher" /> |
9 | 9 | </Target> |
10 | 10 |
|
| 11 | + <ItemGroup> |
| 12 | + <CefSharpCommonBinaries32 Include="$(MSBuildThisFileDirectory)..\CefSharp\x86\*.*" /> |
| 13 | + <CefSharpCommonBinaries64 Include="$(MSBuildThisFileDirectory)..\CefSharp\x64\*.*" /> |
| 14 | + <CefSharpCommonBinariesAnyCPU Include="$(MSBuildThisFileDirectory)..\CefSharp\**\*.*" /> |
| 15 | + </ItemGroup> |
| 16 | + |
| 17 | + <PropertyGroup> |
| 18 | + <CefSharpTargetDir Condition=" '$(CefSharpTargetDir)' == '' "></CefSharpTargetDir> |
| 19 | + </PropertyGroup> |
| 20 | + |
11 | 21 | <!-- |
12 | 22 | These item groups should be in the .props file, unfortunately Nuget 2.8.x doesn't gurantee the |
13 | 23 | correct ordering .props imports, which we require as this depends on the cef.redist packages |
|
19 | 29 | <Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link> |
20 | 30 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
21 | 31 | </None> |
| 32 | + <None Include="@(CefSharpCommonBinaries32)"> |
| 33 | + <Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link> |
| 34 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 35 | + </None> |
22 | 36 | </ItemGroup> |
23 | 37 |
|
24 | 38 | <ItemGroup Condition="'$(Platform)' == 'x64'"> |
25 | 39 | <None Include="@(CefRedist64)"> |
26 | 40 | <Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link> |
27 | 41 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
28 | 42 | </None> |
| 43 | + <None Include="@(CefSharpCommonBinaries64)"> |
| 44 | + <Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link> |
| 45 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 46 | + </None> |
29 | 47 | </ItemGroup> |
30 | 48 |
|
31 | 49 | <ItemGroup Condition="'$(Platform)' == 'AnyCPU'"> |
|
37 | 55 | <Link>$(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension)</Link> |
38 | 56 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
39 | 57 | </None> |
| 58 | + <None Include="@(CefSharpCommonBinaries32)"> |
| 59 | + <Link>$(CefSharpTargetDir)\x86\%(RecursiveDir)%(FileName)%(Extension)</Link> |
| 60 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 61 | + </None> |
| 62 | + <None Include="@(CefSharpCommonBinaries64)"> |
| 63 | + <Link>$(CefSharpTargetDir)\x64\%(RecursiveDir)%(FileName)%(Extension)</Link> |
| 64 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 65 | + </None> |
40 | 66 | </ItemGroup> |
41 | 67 | </Project> |
0 commit comments