2020-07-24 19:51:43 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
|
|
|
|
|
<!--
|
2021-06-18 16:18:59 +10:00
|
|
|
Used by the NetCore projects
|
2020-07-24 19:51:43 +10:00
|
|
|
The file is split from the CefSharp.Native.props file which is used by the NetFull
|
|
|
|
|
projects as it's likely a new set of packages for distributing the CEF files will
|
|
|
|
|
be used.
|
|
|
|
|
-->
|
|
|
|
|
<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.netcore\$(Platform)\$(Configuration)\$(TargetFramework)\CefSharp.BrowserSubprocess.*" />
|
2020-07-24 19:51:43 +10:00
|
|
|
</ItemGroup>
|
2023-03-08 10:11:00 +10:00
|
|
|
<Message Importance="high" Text="Copying $(MSBuildThisFileDirectory)CefSharp.BrowserSubprocess\bin.netcore\$(Platform)\$(Configuration)\$(TargetFramework)\CefSharp.BrowserSubprocess.* to $(TargetDir)" />
|
2020-07-24 19:51:43 +10:00
|
|
|
<Copy SourceFiles="@(SubProcessFiles)" DestinationFolder="$(TargetDir)" />
|
|
|
|
|
</Target>
|
2021-06-18 16:18:59 +10:00
|
|
|
|
|
|
|
|
<!--
|
2022-05-24 15:13:31 +10:00
|
|
|
Include locales in the Example projects
|
2021-06-18 16:18:59 +10:00
|
|
|
-->
|
|
|
|
|
<Choose>
|
|
|
|
|
<When Condition="$(RuntimeIdentifier.StartsWith('win')) and $(RuntimeIdentifier.Contains('-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>
|
|
|
|
|
<When Condition="$(RuntimeIdentifier.StartsWith('win')) and $(RuntimeIdentifier.Contains('-x86'))">
|
|
|
|
|
<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>
|
|
|
|
|
<When Condition="$(RuntimeIdentifier.StartsWith('win')) and $(RuntimeIdentifier.Contains('-arm64'))">
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Include="@(CefRuntimeWinArm64Locales)">
|
|
|
|
|
<Link>locales\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
<PublishState>Included</PublishState>
|
|
|
|
|
<Visible>false</Visible>
|
|
|
|
|
<IncludeInVsix>true</IncludeInVsix>
|
|
|
|
|
</Content>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</When>
|
|
|
|
|
</Choose>
|
2020-07-24 19:51:43 +10:00
|
|
|
</Project>
|