Upgraded project to .NET 8.0 because .NET 6.0 is out of support
This commit is contained in:
parent
0152173106
commit
66a7848d1f
3 changed files with 17 additions and 3 deletions
|
@ -19,6 +19,10 @@ limitations under the License.
|
|||
|
||||
using System;
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
using System.Runtime.Versioning;
|
||||
#endif
|
||||
|
||||
using Ninject;
|
||||
using Ninject.Activation;
|
||||
using Ninject.Modules;
|
||||
|
@ -29,7 +33,10 @@ using Nuclex.Windows.Forms.Messages;
|
|||
|
||||
namespace Nuclex.Windows.Forms.Ninject {
|
||||
|
||||
/// <summary>Sets up the service bindings for an MVVM-based WPF application</summary>
|
||||
/// <summary>Sets up the service bindings for an MVVM-based application</summary>
|
||||
#if NET6_0_OR_GREATER
|
||||
[SupportedOSPlatform("windows")]
|
||||
#endif
|
||||
public class MvvmModule : NinjectModule {
|
||||
|
||||
/// <summary>Called when the module is loaded into the kernel</summary>
|
||||
|
|
|
@ -19,6 +19,10 @@ limitations under the License.
|
|||
|
||||
using System;
|
||||
|
||||
#if NET6_0_OR_GREATER
|
||||
using System.Runtime.Versioning;
|
||||
#endif
|
||||
|
||||
using Ninject;
|
||||
|
||||
using Nuclex.Windows.Forms.AutoBinding;
|
||||
|
@ -26,6 +30,9 @@ using Nuclex.Windows.Forms.AutoBinding;
|
|||
namespace Nuclex.Windows.Forms.Ninject {
|
||||
|
||||
/// <summary>Window manager that is using Ninject</summary>
|
||||
#if NET6_0_OR_GREATER
|
||||
[SupportedOSPlatform("windows")]
|
||||
#endif
|
||||
public class NinjectWindowManager : WindowManager {
|
||||
|
||||
/// <summary>Initializes a new window manager</summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue