Upgraded project to .NET 8.0 because .NET 6.0 is out of support

This commit is contained in:
Markus Ewald 2025-06-19 10:43:58 +02:00 committed by cygon
parent 0f5d22520e
commit 0761f1a8c1
16 changed files with 113 additions and 6 deletions

View file

@ -20,9 +20,16 @@ limitations under the License.
using System;
using System.Windows.Forms;
#if NET6_0_OR_GREATER
using System.Runtime.Versioning;
#endif
namespace Nuclex.Windows.Forms.Messages {
/// <summary>Contains helper methods for the message service</summary>
#if NET6_0_OR_GREATER
[SupportedOSPlatform("windows")]
#endif
public static class MessageServiceHelper {
/// <summary>Asks the user a question that can be answered with yes or no</summary>

View file

@ -20,9 +20,16 @@ limitations under the License.
using System;
using System.Windows.Forms;
#if NET6_0_OR_GREATER
using System.Runtime.Versioning;
#endif
namespace Nuclex.Windows.Forms.Messages {
/// <summary>Uses task dialogs to display message boxes</summary>
#if NET6_0_OR_GREATER
[SupportedOSPlatform("windows")]
#endif
public class StandardMessageBoxManager : IMessageService {
#region class MessageScope