Net 4.7.2 - Add WPF Example
This commit is contained in:
parent
18d5cc2375
commit
90d5611e9a
@ -0,0 +1,58 @@
|
|||||||
|
<?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.net472\</BaseIntermediateOutputPath>
|
||||||
|
<BaseOutputPath>bin.net472\</BaseOutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>net472</TargetFramework>
|
||||||
|
<UseWpf>true</UseWpf>
|
||||||
|
<RootNamespace>CefSharp.MinimalExample.Wpf</RootNamespace>
|
||||||
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
|
<Platforms>x86;x64;AnyCPU</Platforms>
|
||||||
|
<StartupObject>CefSharp.MinimalExample.Wpf.App</StartupObject>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(Platform)' == 'AnyCPU'">
|
||||||
|
<DefineConstants>$(DefineConstants);ANYCPU</DefineConstants>
|
||||||
|
<!--
|
||||||
|
For versions 87 and 88 specify CefSharpPlatformTargetOverride when using AnyCPU.
|
||||||
|
For versions 89 and above use PlatformTarget (CefSharpPlatformTargetOverride will also still work)
|
||||||
|
-->
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<!--<CefSharpPlatformTargetOverride>AnyCPU</CefSharpPlatformTargetOverride>-->
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Remove="bin.netcore\**" />
|
||||||
|
<Compile Remove="bin\**" />
|
||||||
|
<Compile Remove="obj.netcore\**" />
|
||||||
|
<Compile Remove="obj\**" />
|
||||||
|
<EmbeddedResource Remove="bin.netcore\**" />
|
||||||
|
<EmbeddedResource Remove="bin\**" />
|
||||||
|
<EmbeddedResource Remove="obj.netcore\**" />
|
||||||
|
<EmbeddedResource Remove="obj\**" />
|
||||||
|
<None Remove="bin.netcore\**" />
|
||||||
|
<None Remove="bin\**" />
|
||||||
|
<None Remove="obj.netcore\**" />
|
||||||
|
<None Remove="obj\**" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="CefSharp.Wpf" Version="98.1.210" />
|
||||||
|
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||||
|
|
||||||
|
<Target Name="CefSharpAfterBuildDebug" AfterTargets="AfterBuild">
|
||||||
|
<CallTarget Targets="CefSharpAfterBuildDiagnostic" />
|
||||||
|
</Target>
|
||||||
|
</Project>
|
@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.30804.86
|
|||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CefSharp.MinimalExample.WinForms.net472", "CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.net472.csproj", "{1D1D63D1-5257-4AA0-A284-7EF4574878CB}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CefSharp.MinimalExample.WinForms.net472", "CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.net472.csproj", "{1D1D63D1-5257-4AA0-A284-7EF4574878CB}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CefSharp.MinimalExample.Wpf.net472", "CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.net472.csproj", "{0DCBA1E2-2474-4B14-BDF7-60956881E029}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -27,6 +29,18 @@ Global
|
|||||||
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.Build.0 = Release|x64
|
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x64.Build.0 = Release|x64
|
||||||
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.ActiveCfg = Release|x86
|
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.ActiveCfg = Release|x86
|
||||||
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.Build.0 = Release|x86
|
{1D1D63D1-5257-4AA0-A284-7EF4574878CB}.Release|x86.Build.0 = Release|x86
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Release|x64.Build.0 = Release|x64
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{0DCBA1E2-2474-4B14-BDF7-60956881E029}.Release|x86.Build.0 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
@ -6,9 +6,9 @@ SET cefsharpversion=98.1.210
|
|||||||
..\nuget update CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.csproj -Id CefSharp.WinForms -Version %cefsharpversion%
|
..\nuget update CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.csproj -Id CefSharp.WinForms -Version %cefsharpversion%
|
||||||
..\nuget update CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.csproj -Id CefSharp.Wpf -Version %cefsharpversion%
|
..\nuget update CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.csproj -Id CefSharp.Wpf -Version %cefsharpversion%
|
||||||
|
|
||||||
rem #dotnet add CefSharp.MinimalExample.OffScreen\CefSharp.MinimalExample.OffScreen.netcore.csproj package CefSharp.OffScreen.NetCore -v %cefsharpversion%
|
rem #dotnet add CefSharp.MinimalExample.OffScreen\CefSharp.MinimalExample.OffScreen.net472.csproj package CefSharp.OffScreen -v %cefsharpversion%
|
||||||
dotnet add CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.net472.csproj package CefSharp.WinForms -v %cefsharpversion%
|
dotnet add CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.net472.csproj package CefSharp.WinForms -v %cefsharpversion%
|
||||||
rem dotnet add CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.netcore.csproj package CefSharp.Wpf.NetCore -v %cefsharpversion%
|
dotnet add CefSharp.MinimalExample.Wpf\CefSharp.MinimalExample.Wpf.net472.csproj package CefSharp.Wpf -v %cefsharpversion%
|
||||||
|
|
||||||
dotnet add CefSharp.MinimalExample.OffScreen\CefSharp.MinimalExample.OffScreen.netcore.csproj package CefSharp.OffScreen.NetCore -v %cefsharpversion%
|
dotnet add CefSharp.MinimalExample.OffScreen\CefSharp.MinimalExample.OffScreen.netcore.csproj package CefSharp.OffScreen.NetCore -v %cefsharpversion%
|
||||||
dotnet add CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.netcore.csproj package CefSharp.WinForms.NetCore -v %cefsharpversion%
|
dotnet add CefSharp.MinimalExample.WinForms\CefSharp.MinimalExample.WinForms.netcore.csproj package CefSharp.WinForms.NetCore -v %cefsharpversion%
|
||||||
|
Loading…
Reference in New Issue
Block a user