diff --git a/ExeLauncher.GUI/ApplicationModel.cs b/ExeLauncher.GUI/ApplicationModel.cs index 2aa5a52..821ea36 100644 --- a/ExeLauncher.GUI/ApplicationModel.cs +++ b/ExeLauncher.GUI/ApplicationModel.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; namespace ExeLauncher.GUI { - public record ApplicationModel : INotifyPropertyChanged + public class ApplicationModel : INotifyPropertyChanged { private int _number = 1; public int Number @@ -70,7 +70,7 @@ namespace ExeLauncher.GUI } } - public event PropertyChangedEventHandler? PropertyChanged; + public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged([CallerMemberName] string propertyName = "") { diff --git a/ExeLauncher.GUI/ExeLauncher.GUI.csproj b/ExeLauncher.GUI/ExeLauncher.GUI.csproj index c39acf1..b0b11fa 100644 --- a/ExeLauncher.GUI/ExeLauncher.GUI.csproj +++ b/ExeLauncher.GUI/ExeLauncher.GUI.csproj @@ -2,8 +2,7 @@ WinExe - net6.0-windows - enable + net48 true diff --git a/ExeLauncher.GUI/MainWindow.xaml b/ExeLauncher.GUI/MainWindow.xaml index c3f1af3..4d5cb0f 100644 --- a/ExeLauncher.GUI/MainWindow.xaml +++ b/ExeLauncher.GUI/MainWindow.xaml @@ -13,6 +13,7 @@