diff --git a/NETGenerator/NETGenerator.cs b/NETGenerator/NETGenerator.cs index 97b7af83d..615e3f870 100644 --- a/NETGenerator/NETGenerator.cs +++ b/NETGenerator/NETGenerator.cs @@ -558,10 +558,10 @@ namespace PascalABCCompiler.NETGenerator Directory.Delete(publish_dir, true); Directory.CreateDirectory(publish_dir); StringBuilder sb = new StringBuilder(); - string framework = "net8.0"; + string framework = "net9.0"; if (comp_opt.target == TargetType.WinExe) { - framework = "net8.0-windows"; + framework = "net9.0-windows"; sb.AppendLine(""); sb.AppendLine("truetrueWinExe" + framework + "true"); sb.AppendLine("" + Path.Combine(dir, an.Name) + ".dll" + "");