77 lines
2.7 KiB
XML
77 lines
2.7 KiB
XML
<?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>
|
|
|
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<RootNamespace>CefSharp.MinimalExample.Wpf</RootNamespace>
|
|
<ApplicationIcon>chromium-256.ico</ApplicationIcon>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<Platforms>x86;x64</Platforms>
|
|
<StartupObject>CefSharp.MinimalExample.Wpf.Program</StartupObject>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="bin\**" />
|
|
<Compile Remove="obj\**" />
|
|
<EmbeddedResource Remove="bin\**" />
|
|
<EmbeddedResource Remove="obj\**" />
|
|
<None Remove="bin\**" />
|
|
<None Remove="obj\**" />
|
|
<Page Remove="bin\**" />
|
|
<Page Remove="obj\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Windows.Interactivity.WPF" Version="2.0.20525" />
|
|
<PackageReference Include="CefSharp.Wpf" Version="84.4.10" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- TODO: These updates are currently required because CefSharp.Wpf specifies
|
|
<Private>false</Private>, which means these libraries will not be specified in
|
|
the .deps.json file, and so the CoreCLR wouldn't load these. -->
|
|
<Reference Update="CefSharp">
|
|
<Private>true</Private>
|
|
</Reference>
|
|
<Reference Update="CefSharp.Core">
|
|
<Private>true</Private>
|
|
</Reference>
|
|
<Reference Update="CefSharp.Wpf">
|
|
<Private>true</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<!-- Include CefSharp.BrowserSubprocess.Core so we can selfhost the BrowserSubProcess using our exe -->
|
|
<Choose>
|
|
<When Condition="'$(PlatformTarget)' == 'x64'">
|
|
<ItemGroup>
|
|
<Reference Include="CefSharp.BrowserSubprocess.Core">
|
|
<HintPath>$(CefSharpBrowserProcessCore64)</HintPath>
|
|
<Private>true</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</When>
|
|
<!-- x86, Win32 and AnyCPU -->
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<Reference Include="CefSharp.BrowserSubprocess.Core">
|
|
<HintPath>$(CefSharpBrowserProcessCore32)</HintPath>
|
|
<Private>true</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
|
</Project> |