diff --git a/I18N Commander/DataModel/DataModel.csproj b/I18N Commander/DataModel/DataModel.csproj index 4210f08..ed14c08 100644 --- a/I18N Commander/DataModel/DataModel.csproj +++ b/I18N Commander/DataModel/DataModel.csproj @@ -2,19 +2,20 @@ Library - net6.0 + net7.0 enable enable + default - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/I18N Commander/DataModel/Database/Common/DataContext.cs b/I18N Commander/DataModel/Database/Common/DataContext.cs index 0f46a50..0c3a3e5 100644 --- a/I18N Commander/DataModel/Database/Common/DataContext.cs +++ b/I18N Commander/DataModel/Database/Common/DataContext.cs @@ -275,9 +275,9 @@ public sealed class DataContext : DbContext, IDataContext if(parentId == Guid.Empty) { if(section.Depth != 0) - Console.WriteLine(@$"Section {uniqueId} ""{section.Name}"" has no parent."); + Console.WriteLine($"""Section {uniqueId} "{section.Name}" has no parent."""); else - Console.WriteLine(@$"Section {uniqueId} ""{section.Name}"" is a root section, thus, has no parent."); + Console.WriteLine($"""Section {uniqueId} "{section.Name}" is a root section, thus, has no parent."""); section.Parent = null; continue; @@ -287,7 +287,7 @@ public sealed class DataContext : DbContext, IDataContext section.Parent = parent.Entity; else { - Console.WriteLine(@$"Parent of section {uniqueId} ""{section.Name}"" was not found."); + Console.WriteLine($"""Parent of section {uniqueId} "{section.Name}" was not found."""); section.Parent = null; continue; } diff --git a/I18N Commander/DataModel/Setup.cs b/I18N Commander/DataModel/Setup.cs index d36d5be..1facef9 100644 --- a/I18N Commander/DataModel/Setup.cs +++ b/I18N Commander/DataModel/Setup.cs @@ -144,7 +144,7 @@ public static class Setup StartInfo = new() { FileName = "cmd.exe", - Arguments = $@"/C del /Q /F ""{Setup.SETUP_MAINTENANCE.PathToDataFile}""", + Arguments = $"""/C del /Q /F "{Setup.SETUP_MAINTENANCE.PathToDataFile}" """, UseShellExecute = false, CreateNoWindow = true, } diff --git a/I18N Commander/Processor/Processor.csproj b/I18N Commander/Processor/Processor.csproj index 7b794fd..ed99dcc 100644 --- a/I18N Commander/Processor/Processor.csproj +++ b/I18N Commander/Processor/Processor.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 enable enable default @@ -12,7 +12,7 @@ - + diff --git a/I18N Commander/Processor/Version.cs b/I18N Commander/Processor/Version.cs index 26ad95d..bb0228c 100644 --- a/I18N Commander/Processor/Version.cs +++ b/I18N Commander/Processor/Version.cs @@ -2,5 +2,5 @@ public static class Version { - public static string Text => $"v0.8.5 (2023-02-12), .NET {Environment.Version}"; + public static string Text => $"v0.8.6 (2023-02-12), .NET {Environment.Version}"; } \ No newline at end of file diff --git a/I18N Commander/UI WinForms/UI WinForms.csproj b/I18N Commander/UI WinForms/UI WinForms.csproj index fda8ad3..41990bf 100644 --- a/I18N Commander/UI WinForms/UI WinForms.csproj +++ b/I18N Commander/UI WinForms/UI WinForms.csproj @@ -3,7 +3,7 @@ WinExe Exe - net6.0-windows10.0.22000.0 + net7.0-windows UI_WinForms enable true