mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
5e89f71a44
* Add .NET Core 3.1 projects for CefSharp, CefSharp.Core, CefSharp.BrowserSubprocess.Core, CefSharp.WinForms, CefSharp.Wpf, CefSharp.OffScreen. Contributes to CefSharp#2796 * - Remove dependencies to "opengl32.lib" and "glu32.lib" which aren't available for ARM64 and don't seem to be needed. - Clean up project files. * Switch project CefSharp.netcore.csproj to AnyCPU as it doesn't require different builds for each platform. * Remove WindowsTargetPlatformVersion property as that is declared in CefSharp.props. * Use "bin.netcore" and "obj.netcore" as [intermediate] output path for the .NET Core projects, to allow side-by-side builds with the .NET Framework projects. * Output documentation files. * Add CefSharp.Example.netcore and CefSharp.WinForms.Example.netcore. * Follow-up: Remove properties from the example projects that are also not used in the corresponding .NET Framework projects.
53 lines
2.1 KiB
XML
53 lines
2.1 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.1</TargetFramework>
|
|
<RootNamespace>CefSharp.WinForms.Example</RootNamespace>
|
|
<AssemblyName>CefSharp.WinForms.Example</AssemblyName>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<Platforms>x86;x64</Platforms>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\CefSharp.BrowserSubprocess.Core\CefSharp.BrowserSubprocess.Core.netcore.vcxproj" />
|
|
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.netcore.vcxproj" />
|
|
<ProjectReference Include="..\CefSharp.Example\CefSharp.Example.netcore.csproj" />
|
|
<ProjectReference Include="..\CefSharp.WinForms\CefSharp.WinForms.netcore.csproj" />
|
|
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="crash_reporter.cfg">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Don't include items from the "bin" and "obj" folders used by the .NET Framework projects. -->
|
|
<None Remove="bin/**/*.*" />
|
|
<None Remove="obj/**/*.*" />
|
|
<Compile Remove="obj/**/*.*" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
|
</Project> |