mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +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.
109 lines
4.9 KiB
XML
109 lines
4.9 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>
|
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
|
<RootNamespace>CefSharp.Example</RootNamespace>
|
|
<AssemblyName>CefSharp.Example</AssemblyName>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<Platforms>x86;x64</Platforms>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Condition="'$(PlatformTarget)' == 'x86'" Include="cef.redist.x86" Version="83.4.2" />
|
|
<PackageReference Condition="'$(PlatformTarget)' == 'x64'" Include="cef.redist.x64" Version="83.4.2" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.netcore.vcxproj" />
|
|
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="Extensions\set_page_color\icon.png" />
|
|
<Content Include="Extensions\set_page_color\popup.html" />
|
|
<Content Include="Extensions\set_page_color\popup.js" />
|
|
<Content Include="Resources\assets\css\docs.css" />
|
|
<Content Include="Resources\assets\css\shCore.css" />
|
|
<Content Include="Resources\assets\css\shCoreDefault.css" />
|
|
<Content Include="Resources\assets\js\application.js" />
|
|
<Content Include="Resources\assets\js\jquery.js" />
|
|
<Content Include="Resources\assets\js\shBrushCSharp.js" />
|
|
<Content Include="Resources\assets\js\shCore.js" />
|
|
<Content Include="Resources\BindingTestsAsyncTask.html" />
|
|
<Content Include="Resources\BindingApiCustomObjectNameTest.html" />
|
|
<Content Include="Resources\BindingTestSingle.html" />
|
|
<Content Include="Resources\DragDropCursorsTest.html" />
|
|
<Content Include="Resources\JavascriptCallbackTest.html" />
|
|
<Content Include="Resources\LegacyBindingTest.html" />
|
|
<Content Include="Resources\CdmSupportTest.html" />
|
|
<Content Include="Resources\CssAnimation.html" />
|
|
<Content Include="Resources\ExceptionTest.html" />
|
|
<Content Include="Resources\BindingTest.html" />
|
|
<Content Include="Resources\bootstrap\bootstrap-theme.min.css" />
|
|
<Content Include="Resources\bootstrap\bootstrap.min.css" />
|
|
<Content Include="Resources\bootstrap\bootstrap.min.js" />
|
|
<Content Include="Resources\extension.js" />
|
|
<Content Include="Resources\MultiBindingTest.html" />
|
|
<Content Include="Resources\home.html" />
|
|
<Content Include="Resources\FramedWebGLTest.html" />
|
|
<Content Include="Resources\PopupTest.html" />
|
|
<Content Include="Resources\DraggableRegionTest.html" />
|
|
<Content Include="Resources\PostMessageTest.html" />
|
|
<Content Include="Resources\Recaptcha.html" />
|
|
<Content Include="Resources\ResponseFilterTest.html" />
|
|
<Content Include="Resources\SchemeTest.html" />
|
|
<Content Include="Resources\ScriptedMethodsTest.html" />
|
|
<Content Include="Resources\UnicodeExampleGreaterThan32kb.html" />
|
|
<Content Include="Resources\UnocodeExampleEqualTo32kb.html" />
|
|
<Content Include="Resources\TooltipTest.html" />
|
|
<EmbeddedResource Update="Properties\Resources.resx">
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<Compile Update="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<!-- Copy the CEF redist files. -->
|
|
<ItemGroup Condition="'$(PlatformTarget)' == 'x86'">
|
|
<Content Include="@(CefRedist32)">
|
|
<Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>false</Visible>
|
|
<PublishState>Included</PublishState>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(PlatformTarget)' == 'x64'">
|
|
<Content Include="@(CefRedist64)">
|
|
<Link>$(CefSharpTargetDir)\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Visible>false</Visible>
|
|
<PublishState>Included</PublishState>
|
|
</Content>
|
|
</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> |