Upgraded project to .NET 8.0 because .NET 6.0 is out of support
This commit is contained in:
parent
0f5d22520e
commit
0761f1a8c1
16 changed files with 113 additions and 6 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue