diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f35b95..7c42359 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ jobs: dotnet-version: | 6.0.x 8.0.x + 10.0.x - name: Restore dependencies run: dotnet restore src/FluentDragDrop.sln diff --git a/README.md b/README.md index fce34e1..db3ff4a 100644 --- a/README.md +++ b/README.md @@ -107,4 +107,4 @@ Those effects are powered by another project called [FluentTransitions](https:// --- -Images taken from Unsplash, links to these are located at [/doc/Unsplash](/doc/Unsplash). +Images taken from Unsplash, links to these are located at [/doc/Unsplash](/doc/Unsplash). \ No newline at end of file diff --git a/src/FluentDragDrop.Effects/FluentDragDrop.Effects.csproj b/src/FluentDragDrop.Effects/FluentDragDrop.Effects.csproj index 5b53e78..5c1223f 100644 --- a/src/FluentDragDrop.Effects/FluentDragDrop.Effects.csproj +++ b/src/FluentDragDrop.Effects/FluentDragDrop.Effects.csproj @@ -1,7 +1,7 @@ Library - net6.0-windows;net8.0-windows + net6.0-windows;net8.0-windows;net10.0-windows true true FluentDrag&Drop is the sexiest Drag&Drop implemtation for WinForms on this planet. diff --git a/src/FluentDragDrop/FluentDragDrop.csproj b/src/FluentDragDrop/FluentDragDrop.csproj index 46a696c..c76b3ea 100644 --- a/src/FluentDragDrop/FluentDragDrop.csproj +++ b/src/FluentDragDrop/FluentDragDrop.csproj @@ -1,7 +1,7 @@ Library - net6.0-windows;net8.0-windows + net6.0-windows;net8.0-windows;net10.0-windows true true Drag&Drop in WinForms is cumbersome and error-prone. There are multiple events to handle, members to track and properties to set on at least two controls. diff --git a/src/FluentDragDrop/Preview/PreviewForm.cs b/src/FluentDragDrop/Preview/PreviewForm.cs index fd5932b..d037be7 100644 --- a/src/FluentDragDrop/Preview/PreviewForm.cs +++ b/src/FluentDragDrop/Preview/PreviewForm.cs @@ -1,5 +1,6 @@ using FluentDragDrop.Effects; using System; +using System.ComponentModel; using System.Drawing; using System.Windows.Forms; @@ -133,6 +134,7 @@ protected override void OnLostCapture() public IPreviewOpacityController PreviewOpacityController { get; private set; } + [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public bool AllowUpdates { get; set; } = true; } } diff --git a/src/FluentDragDropExample/FluentDragDropExample.csproj b/src/FluentDragDropExample/FluentDragDropExample.csproj index 84f4d51..d266662 100644 --- a/src/FluentDragDropExample/FluentDragDropExample.csproj +++ b/src/FluentDragDropExample/FluentDragDropExample.csproj @@ -2,7 +2,7 @@ WinExe - net6.0-windows;net8.0-windows + net6.0-windows;net8.0-windows;net10.0-windows true true diff --git a/src/FluentDragDropNuGetExample/FluentDragDropNuGetExample.csproj b/src/FluentDragDropNuGetExample/FluentDragDropNuGetExample.csproj index 895ada2..1b4140d 100644 --- a/src/FluentDragDropNuGetExample/FluentDragDropNuGetExample.csproj +++ b/src/FluentDragDropNuGetExample/FluentDragDropNuGetExample.csproj @@ -2,7 +2,7 @@ WinExe - net6.0-windows;net8.0-windows + net6.0-windows;net8.0-windows;net10.0-windows true true diff --git a/src/global.json b/src/global.json index db989f5..9682ab7 100644 --- a/src/global.json +++ b/src/global.json @@ -1,7 +1,7 @@ { "sdk": { - "version": "3.1.100", - "rollForward": "latestMajor", + "version": "10.0.100", + "rollForward": "latestMinor", "allowPrerelease": true } } \ No newline at end of file