Files
cefsharp/CefSharp.Example/CefSharp.Example.netcore.csproj
T
amaitland e8cf336bf3 Net Core - Support for compiling with .Net Core 3.1
- Make Wpf/WinForms/OffScreen projects target AnyCPU
Only the VC++ projects are platform specific now.
- Remove BrowserSubProcess project reference
Not needed as we now have a standalone exe
- Add OffScreen example
- Add WPF Example project
- Fix some compile errors for main solution
- Add BrowserSubProcess executable
- JavascriptObjectRepository remove isAsync param
Rather than throw exception remove the option
- BrowserSubprocess Exclude the WCF specific code from the netCore project
- Add some ifdef/ifndef to exclude the WCF specific implementation
- Move WCF implementation into separate namespace
2020-07-23 15:23:45 +10:00

108 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>
</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>