07049f5e62
* Upgrade to v88.2.40-pre WPF - Add https scheme to default URL to workaround upstream issue https://bitbucket.org/chromiumembedded/cef/issues/3079/cant-load-urls-without-scheme * Net Core - Add AnyCPU Platform to projects/solution * Net Core - Add RuntimeIdentifier based on PlatformTarget - Set RuntimeIdentifier based on PlatformTarget (PlatformTarget isn't set of AnyCPU) - Set SelfContained to false so as not to provide a Framework Dependant build (don't include the whole .net framework) * WPF/WinForms - Change CefSharpBuildAction to Content For testing of ClickOnce publish * Net 5.0 - Update to include PublishSingleFile settings - .Net 5.0 Publish Settings for PublishSingleFile https://docs.microsoft.com/en-us/dotnet/core/deploying/single-file Defaults differ compared to .Net Core 3.1 - Set RollForward to Major so runs on newer runtime version - Add net5.0-windows TargetFramework * .Net 5.0 - Publish Single Exe Example - Use the main application exe as the BrowserSubprocess when self publishing a .Net 5.0 exe - Only the WPF and WinForms examples have been updated https://github.com/cefsharp/CefSharp/issues/3407 * Upgrade to 88.2.90
148 lines
6.6 KiB
XML
148 lines
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.props')" />
|
|
<Import Project="..\packages\cef.redist.x86.88.2.9\build\cef.redist.x86.props" Condition="Exists('..\packages\cef.redist.x86.88.2.9\build\cef.redist.x86.props')" />
|
|
<Import Project="..\packages\cef.redist.x64.88.2.9\build\cef.redist.x64.props" Condition="Exists('..\packages\cef.redist.x64.88.2.9\build\cef.redist.x64.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.30729</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{C043FFF7-5F71-4FFC-989A-E09E18548589}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>CefSharp.MinimalExample.WinForms</RootNamespace>
|
|
<AssemblyName>CefSharp.MinimalExample.WinForms</AssemblyName>
|
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<StartupObject>
|
|
</StartupObject>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<UpgradeBackupLocation>
|
|
</UpgradeBackupLocation>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<TargetFrameworkProfile>
|
|
</TargetFrameworkProfile>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
<CefSharpAnyCpuSupport>true</CefSharpAnyCpuSupport>
|
|
<CefSharpBuildAction>Content</CefSharpBuildAction>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<OutputPath>bin\x64\Debug\net452\</OutputPath>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<OutputPath>bin\x64\Release\net452\</OutputPath>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x86\Debug\net452\</OutputPath>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<OutputPath>bin\x86\Release\net452\</OutputPath>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\AnyCPU\Debug\net452\</OutputPath>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<LangVersion>7.3</LangVersion>
|
|
<DefineConstants>DEBUG;TRACE;ANYCPU</DefineConstants>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
|
<OutputPath>bin\AnyCPU\Release\net452\</OutputPath>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<LangVersion>7.3</LangVersion>
|
|
<DefineConstants>TRACE;ANYCPU</DefineConstants>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="CefSharp, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
|
<HintPath>..\packages\CefSharp.Common.88.2.90\lib\net452\CefSharp.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="CefSharp.Core, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
|
<HintPath>..\packages\CefSharp.Common.88.2.90\lib\net452\CefSharp.Core.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="CefSharp.WinForms, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138">
|
|
<HintPath>..\packages\CefSharp.WinForms.88.2.90\lib\net452\CefSharp.WinForms.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core">
|
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="BrowserForm.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="BrowserForm.Designer.cs">
|
|
<DependentUpon>BrowserForm.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Controls\ControlExtensions.cs" />
|
|
<Compile Include="Program.cs">
|
|
</Compile>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="BrowserForm.resx">
|
|
<DependentUpon>BrowserForm.cs</DependentUpon>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="app.config" />
|
|
<None Include="app.manifest" />
|
|
<None Include="crash_reporter.cfg">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="packages.config" />
|
|
<None Include="Resources\nav_left_green.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Resources\nav_plain_green.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Resources\nav_plain_red.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Resources\nav_right_green.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Resources\chromium-256.png" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
|
|
<CallTarget Targets="CefSharpAfterBuildDiagnostic" />
|
|
</Target>
|
|
<Import Project="..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.88.2.90\build\CefSharp.Common.targets')" />
|
|
</Project> |