Enable nullability in MPF

This commit is contained in:
Matt Nadareski
2023-10-11 11:16:34 -04:00
parent cb7502b450
commit daaf9f1932
3 changed files with 7 additions and 11 deletions

View File

@@ -10,6 +10,7 @@
- Enable nullability in Check
- Remove all but .NET 6 for AppVeyor packaging
- Place message boxes at center of main window (Deterous)
- Enable nullability in MPF
### 2.7.0 (2023-10-11)

View File

@@ -1,16 +1,7 @@
using System.Windows;
namespace MPF
namespace MPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
/// <remarks>
/// This application is not fully MVVM. The following steps are needed to get there:
/// - Use commands instead of event handlers, where at all possible
/// - Reduce the amount of manual UI adjustments needed, instead binding to the view models
/// </remarks>
public partial class App : Application
{
}
public partial class App : System.Windows.Application { }
}

View File

@@ -15,6 +15,10 @@
<InternalsVisibleTo>MPF.Test</InternalsVisibleTo>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'!='net48'">
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Resource Include="Images\Icon.ico" />
</ItemGroup>