2014-09-26 15:56:33 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2021-10-10 15:44:47 +10:00
|
|
|
<Target Name="CefSharpCopyBrowserSubprocess" AfterTargets="AfterBuild">
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<!-- We only need the .exe and .pdb but I don't know how to express that easily with MSBuild... -->
|
2023-03-08 10:11:00 +10:00
|
|
|
<SubProcessFiles Include="$(MSBuildThisFileDirectory)\CefSharp.BrowserSubprocess\bin\$(Platform)\$(Configuration)\CefSharp.BrowserSubprocess.*" />
|
2021-10-10 15:44:47 +10:00
|
|
|
</ItemGroup>
|
|
|
|
|
<Copy SourceFiles="@(SubProcessFiles)" DestinationFolder="$(OutDir)" />
|
2016-06-17 08:32:07 +10:00
|
|
|
</Target>
|
2021-10-10 15:44:47 +10:00
|
|
|
|
|
|
|
|
<!--
|
2022-05-24 15:13:31 +10:00
|
|
|
Include locales in the Example projects
|
2021-10-10 15:44:47 +10:00
|
|
|
-->
|
|
|
|
|
<Choose>
|
|
|
|
|
<When Condition="'$(Platform)' == 'x64'">
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="@(CefRuntimeWin64Locales)">
|
|
|
|
|
<Link>locales\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<PublishState>Included</PublishState>
|
|
|
|
|
<Visible>false</Visible>
|
|
|
|
|
<IncludeInVsix>true</IncludeInVsix>
|
|
|
|
|
</Content>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</When>
|
2021-10-13 06:45:58 +10:00
|
|
|
<When Condition="'$(Platform)' == 'x86' OR '$(Platform)' == 'Win32'">
|
2021-10-10 15:44:47 +10:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="@(CefRuntimeWin32Locales)">
|
|
|
|
|
<Link>locales\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<PublishState>Included</PublishState>
|
|
|
|
|
<Visible>false</Visible>
|
|
|
|
|
<IncludeInVsix>true</IncludeInVsix>
|
|
|
|
|
</Content>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</When>
|
|
|
|
|
</Choose>
|
|
|
|
|
</Project>
|