Skip to content

Commit

Permalink
HwndHost - Add Nuspec
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Dec 4, 2024
1 parent d5fd7ba commit 2aff5a8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CefSharp/Enums/ContentSettingTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public enum ContentSettingTypes
/// a specified account. When this is present it allows access to session
/// management capabilities between the sites. This setting is associated
/// with the relying party's origin.
// Obsolete on Nov 2023.
/// Obsolete on Nov 2023.
/// </summary>
DeprecatedFederatedIdentityActiveSession,

Expand Down
28 changes: 28 additions & 0 deletions NuGet/CefSharp.Wpf.HwndHost.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>CefSharp.Wpf.HwndHost</id>
<version>$version$</version>
<authors>The CefSharp Authors</authors>
<owners>The CefSharp Authors</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">LICENSE</license>
<projectUrl>https://github.com/cefsharp/CefSharp</projectUrl>
<description>The CefSharp Chromium-based browser component. The CefSharp.Wpf.HwndHost.ChromiumWebBrowser control is a drop in replacement for the CefSharp.Wpf.ChromiumWebBrowser that's rougly equivilent to hosting the WinForms version in WPF.</description>
<copyright>Copyright © The CefSharp Authors</copyright>
<dependencies>
<group targetFramework=".NETFramework4.6.2">
<dependency id="CefSharp.Wpf" version="[$version$]" exclude="Build,Analyzers" />
</group>
<group targetFramework=".NETCoreApp3.1">
<dependency id="CefSharp.Wpf.NETCore" version="[$version$]" exclude="Build,Analyzers" />
</group>
</dependencies>
<frameworkReferences>
<group targetFramework=".NETCoreApp3.1">
<frameworkReference name="Microsoft.WindowsDesktop.App.WPF" />
</group>
<group targetFramework=".NETFramework4.6.2" />
</frameworkReferences>
</metadata>
</package>
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ if($IsNetCoreBuild)
{
$CefSln = Join-Path $WorkingDir 'CefSharp3.netcore.sln'
$NugetPackagePath = "nuget\PackageReference";
$NupkgFiles = @('CefSharp.Common.NETCore.nuspec', 'CefSharp.WinForms.NETCore.nuspec', 'CefSharp.Wpf.NETCore.nuspec','CefSharp.OffScreen.NETCore.nuspec')
$NupkgFiles = @('CefSharp.Common.NETCore.nuspec', 'CefSharp.WinForms.NETCore.nuspec', 'CefSharp.Wpf.NETCore.nuspec','CefSharp.OffScreen.NETCore.nuspec', 'CefSharp.Wpf.HwndHost.nuspec')
$VCXProjPackageConfigFiles = @('CefSharp.Core.Runtime\packages.CefSharp.Core.Runtime.netcore.config', 'CefSharp.BrowserSubprocess.Core\packages.CefSharp.BrowserSubprocess.Core.netcore.config');
$SupportedArches.AddRange(@("x86", "x64", "arm64"));
}
Expand Down

0 comments on commit 2aff5a8

Please sign in to comment.