2020-07-18 13:30:54 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project>
|
|
|
|
|
<!-- Note: We cannot use the recommended style of specifying <Project Sdk=...> because we need
|
|
|
|
|
to set BaseIntermediateOutputPath and BaseOutputPath before the SDK props are imported. -->
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<BaseIntermediateOutputPath>obj.netcore\</BaseIntermediateOutputPath>
|
|
|
|
|
<BaseOutputPath>bin.netcore\</BaseOutputPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<!-- Implicit top import -->
|
|
|
|
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<OutputType>WinExe</OutputType>
|
2023-03-13 13:25:11 +10:00
|
|
|
<TargetFrameworks>netcoreapp3.1;net5.0-windows</TargetFrameworks>
|
|
|
|
|
<TargetFrameworks Condition="'$(VisualStudioVersion)'=='17.0'">$(TargetFrameworks);net6.0-windows</TargetFrameworks>
|
2020-07-18 13:30:54 +10:00
|
|
|
<RootNamespace>CefSharp.BrowserSubprocess</RootNamespace>
|
|
|
|
|
<AssemblyName>CefSharp.BrowserSubprocess</AssemblyName>
|
|
|
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
|
|
|
<SignAssembly>true</SignAssembly>
|
|
|
|
|
<AssemblyOriginatorKeyFile>..\CefSharp.snk</AssemblyOriginatorKeyFile>
|
|
|
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
|
<StartupObject>CefSharp.BrowserSubprocess.Program</StartupObject>
|
2021-04-01 09:27:48 +02:00
|
|
|
<Platforms>x86;x64;arm64</Platforms>
|
|
|
|
|
<!-- Explicitly set the PlatformTarget for arm64, see: https://github.com/dotnet/sdk/issues/15434 -->
|
|
|
|
|
<PlatformTarget Condition="'$(Platform)' == 'arm64'">arm64</PlatformTarget>
|
2020-12-16 13:36:44 +10:00
|
|
|
<!--
|
|
|
|
|
Run on a newer version of .Net if the specified version (.Net Core 3.1) is not installed
|
|
|
|
|
https://github.com/dotnet/docs/issues/12237
|
|
|
|
|
-->
|
|
|
|
|
<RollForward>Major</RollForward>
|
2020-07-18 13:30:54 +10:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-11-06 17:41:45 +10:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
2020-07-18 13:30:54 +10:00
|
|
|
<WarningLevel>2</WarningLevel>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-11-06 15:45:36 +10:00
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
|
<EmbedAllSources>True</EmbedAllSources>
|
|
|
|
|
<DebugType>embedded</DebugType>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2020-07-18 13:30:54 +10:00
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="bin\**" />
|
|
|
|
|
<Compile Remove="obj\**" />
|
|
|
|
|
<EmbeddedResource Remove="bin\**" />
|
|
|
|
|
<EmbeddedResource Remove="obj\**" />
|
|
|
|
|
<None Remove="bin\**" />
|
|
|
|
|
<None Remove="obj\**" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Remove="Program.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\CefSharp.BrowserSubprocess.Core\CefSharp.BrowserSubprocess.Core.netcore.vcxproj" />
|
|
|
|
|
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2022-03-01 15:05:28 +10:00
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
2022-09-07 21:06:35 +02:00
|
|
|
<Exec Command="if $(PlatformName) == x86 (
 call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvars32.bat"
 editbin /largeaddressaware /TSAWARE "$(TargetDir)CefSharp.BrowserSubprocess.exe" 
) else if $(PlatformName) == x64 (
 call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvars64.bat"
 editbin /STACK:8388608 "$(TargetDir)CefSharp.BrowserSubprocess.exe"
) else if $(PlatformName) == arm64 (
 call "$(DevEnvDir)..\..\VC\Auxiliary\Build\vcvarsamd64_arm64.bat"
 editbin /STACK:8388608 "$(TargetDir)CefSharp.BrowserSubprocess.exe"
)
" />
|
2022-03-01 15:05:28 +10:00
|
|
|
</Target>
|
|
|
|
|
|
2020-07-18 13:30:54 +10:00
|
|
|
<!-- Implicit bottom import -->
|
|
|
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
|
|
|
|
|
</Project>
|