11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <!-- Only execute if the Platform folder exists in this package -->
4- <Target Name =" CefRedistCopyDllPak64" BeforeTargets =" AfterBuild" Condition =" Exists('$(MSBuildThisFileDirectory)..\CEF\$(Platform)')" >
5- <ItemGroup >
6- <CefBinaries Include =" $(MSBuildThisFileDirectory)..\CEF\$(Platform)\*.*" />
7- <CefPakFiles Include =" $(MSBuildThisFileDirectory)..\CEF\*.*" />
8- <CefLocales Include =" $(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
9- </ItemGroup >
10- <Message Importance =" high" Text =" -- cef.redist.targets at $(MSBuildThisFileDirectory)" />
11- <Message Importance =" high" Text =" Copying CEF .dll files from $(MSBuildThisFileDirectory)..\CEF\$(Platform) to $(TargetDir)" />
12- <Copy SourceFiles =" @(CefBinaries)" DestinationFolder =" $(TargetDir)" SkipUnchangedFiles =" true" />
13- <Message Importance =" high" Text =" Copying CEF .pak files from $(MSBuildThisFileDirectory)..\CEF to $(TargetDir)" />
14- <Copy SourceFiles =" @(CefPakFiles)" DestinationFolder =" $(TargetDir)" SkipUnchangedFiles =" true" />
15- <Message Importance =" high" Text =" Copying CEF locales from $(MSBuildThisFileDirectory)..\CEF\locales to $(TargetDir)\locales" />
16- <Copy SourceFiles =" @(CefLocales)" DestinationFolder =" $(TargetDir)\locales" SkipUnchangedFiles =" true" />
17- </Target >
3+ <!--
4+ Files are no longer copied as part of this targets file.
5+ For projects other than CefSharp define a target to copy the files.
6+ Checkout the CefSharp.Common.targets file for an example
7+ -->
8+
9+ <!--
10+ If this packages contains the x86 folder then set the 32bit properties,
11+ if it contains the x64 folder than set the 64bit properties.
12+ Example if this is a x64 package, their will be a x64 folder in the CEF
13+ directory, if that's the case this package contains the x64 files, so we'll
14+ define those properties.
15+ -->
16+ <ItemGroup Condition =" Exists('$(MSBuildThisFileDirectory)..\CEF\x86')" >
17+ <CefBinaries32 Include =" $(MSBuildThisFileDirectory)..\CEF\x86\*.*" />
18+ <CefPakFiles32 Include =" $(MSBuildThisFileDirectory)..\CEF\*.*" />
19+ <CefLocales32 Include =" $(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
20+ </ItemGroup >
21+
22+ <ItemGroup Condition =" Exists('$(MSBuildThisFileDirectory)..\CEF\x64')" >
23+ <CefBinaries64 Include =" $(MSBuildThisFileDirectory)..\CEF\x64\*.*" />
24+ <CefPakFiles64 Include =" $(MSBuildThisFileDirectory)..\CEF\*.*" />
25+ <CefLocales64 Include =" $(MSBuildThisFileDirectory)..\CEF\locales\*.*" />
26+ </ItemGroup >
1827</Project >
0 commit comments