mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
7367f0aaa2
For release builds we embed project source and symbols (at least until https://github.com/dotnet/sdk/issues/1458 is resolved) Issue #3197
48 lines
2.0 KiB
XML
48 lines
2.0 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.OffScreen</RootNamespace>
|
|
<AssemblyName>CefSharp.OffScreen</AssemblyName>
|
|
<DocumentationFile>$(BaseOutputPath)$(PlatformTarget)\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<SignAssembly>true</SignAssembly>
|
|
<AssemblyOriginatorKeyFile>..\CefSharp.snk</AssemblyOriginatorKeyFile>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<DefineConstants>OFFSCREEN</DefineConstants>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
|
|
<EmbedAllSources>True</EmbedAllSources>
|
|
<DebugType>embedded</DebugType>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.netcore.vcxproj" />
|
|
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
|
|
</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>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\CefSharp\Internals\Partial\ChromiumWebBrowser.Partial.cs" Link="ChromiumWebBrowser.Partial.cs" />
|
|
</ItemGroup>
|
|
|
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
|
</Project> |