|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | | - <Target Name="AfterBuild"> |
| 3 | + <Target Name="CefSharpCommonCopyBinaries" BeforeTargets="AfterBuild"> |
4 | 4 | <ItemGroup> |
5 | | -<!-- <CefBinaries Include="$(MSBuildThisFileDirectory)..\packages\CEF\$(Platform)\*.*" /> |
6 | | - <Locales Include="$(MSBuildThisFileDirectory)..\packages\CEF\locales\*.*" /> |
7 | | - <CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" /> --> |
8 | | - |
9 | | - |
10 | | - <!-- TODO FIGURE out pro/con of $(SolutionDir) or $(MSBuildThisFileDirectory) ... |
11 | | - guess difference is if everything is not flat - and SolutionDir is is not ROOT for everything?? --> |
12 | | - <CefBinaries Include="$(SolutionDir)packages\cef.redist.3.1650.1562-pre0\CEF\$(Platform)\*.*" /> |
13 | | - <ResourceFiles Include="$(SolutionDir)packages\cef.redist.3.1650.1562-pre0\CEF\*.*" /> |
14 | | - <LocaleFiles Include="$(SolutionDir)packages\cef.redist.3.1650.1562-pre0\CEF\locales\*.*" /> |
15 | | - |
16 | 5 | <CefSharpBinaries Include="$(MSBuildThisFileDirectory)..\CefSharp\$(Platform)\*.*" /> |
17 | | - |
18 | 6 | </ItemGroup> |
19 | | - <Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CEF\$(Platform) to $(TargetDir)" /> |
20 | | - <Copy SourceFiles="@(CefBinaries)" DestinationFolder="$(TargetDir)" /> |
21 | | - |
22 | | - <Message Importance="high" Text="Copying .pak files from $(MSBuildThisFileDirectory)..\CEF to $(TargetDir)" /> |
23 | | - <Copy SourceFiles="@(Locales)" DestinationFolder="$(TargetDir)\locales" /> |
24 | | - <Message Importance="high" Text="Copying locales from $(MSBuildThisFileDirectory)..\CEF\locales to $(TargetDir)\locales" /> |
25 | | - <Copy SourceFiles="@(Locales)" DestinationFolder="$(TargetDir)\locales" /> |
26 | | - |
27 | | - <Message Importance="high" Text="Copying source files from $(MSBuildThisFileDirectory)..\CefSharp\$(Platform) to $(TargetDir)" /> |
| 7 | + <Message Importance="high" Text="-- CefSharp.Common.targets: Copying files from $(MSBuildThisFileDirectory)..\CefSharp\$(Platform) to $(TargetDir)" /> |
28 | 8 | <Copy SourceFiles="@(CefSharpBinaries)" DestinationFolder="$(TargetDir)" /> |
29 | 9 | </Target> |
30 | 10 | </Project> |
0 commit comments