mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
WinForms - OOP Designer migrate to Microsoft.WinForms.Designer.SDK
Only for Net Core (.Net 5/6)
This commit is contained in:
@@ -55,7 +55,8 @@
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
<PackageReference Include="Microsoft.WinForms.Designer.SDK" Version="1.1.0-prerelease-preview3.22076.5" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.WindowsDesktop" />
|
||||
|
||||
@@ -4,8 +4,11 @@
|
||||
|
||||
using System.Collections;
|
||||
using System.Drawing;
|
||||
#if NETCOREAPP
|
||||
using Microsoft.DotNet.DesignTools.Designers;
|
||||
#else
|
||||
using System.Windows.Forms.Design;
|
||||
|
||||
#endif
|
||||
namespace CefSharp.WinForms
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user