From beb595e4271e49809dc2c8f6eaef8e81ca143a00 Mon Sep 17 00:00:00 2001 From: Jan Jones Date: Mon, 8 Sep 2025 16:45:47 +0200 Subject: [PATCH] Publish/pack file-based apps in Release config by default --- src/Cli/dotnet/Commands/CommandFactory.cs | 5 +++- src/Cli/dotnet/Commands/Pack/PackCommand.cs | 29 ++++++++++--------- .../dotnet/Commands/Publish/PublishCommand.cs | 22 +++++++------- .../dotnet/ReleasePropertyProjectLocator.cs | 9 +++++- .../CommandTests/Run/RunFileTests.cs | 16 +++++++++- 5 files changed, 54 insertions(+), 27 deletions(-) diff --git a/src/Cli/dotnet/Commands/CommandFactory.cs b/src/Cli/dotnet/Commands/CommandFactory.cs index 016436103228..b8235771cf79 100644 --- a/src/Cli/dotnet/Commands/CommandFactory.cs +++ b/src/Cli/dotnet/Commands/CommandFactory.cs @@ -17,7 +17,8 @@ internal static CommandBase CreateVirtualOrPhysicalCommand( Func createPhysicalCommand, IEnumerable