From 38cb408ebb1ad8bfd82c7af7cf8c5294165e4884 Mon Sep 17 00:00:00 2001 From: wangjunzzz <> Date: Sat, 24 Jan 2026 11:26:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dcli?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aspnet-core/Directory.Build.Volo.targets | 1 - .../Lion/AbpPro/Cli/AbpProCliCoreModule.cs | 16 ++++++++-------- templates/pro-module/Directory.Build.targets | 3 ++- .../pro-nuget/service/Directory.Build.targets | 1 + 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/aspnet-core/Directory.Build.Volo.targets b/aspnet-core/Directory.Build.Volo.targets index f949bc55..35e7987a 100644 --- a/aspnet-core/Directory.Build.Volo.targets +++ b/aspnet-core/Directory.Build.Volo.targets @@ -1,7 +1,6 @@  - diff --git a/aspnet-core/frameworks/src/Lion.AbpPro.Cli.Core/Lion/AbpPro/Cli/AbpProCliCoreModule.cs b/aspnet-core/frameworks/src/Lion.AbpPro.Cli.Core/Lion/AbpPro/Cli/AbpProCliCoreModule.cs index f3f22c8a..2532759f 100644 --- a/aspnet-core/frameworks/src/Lion.AbpPro.Cli.Core/Lion/AbpPro/Cli/AbpProCliCoreModule.cs +++ b/aspnet-core/frameworks/src/Lion.AbpPro.Cli.Core/Lion/AbpPro/Cli/AbpProCliCoreModule.cs @@ -24,14 +24,14 @@ public class AbpProCliCoreModule : AbpModule new AbpProTemplateOptions("pro", "pro", "源码版本", true) { ExcludeFiles = "templates,docs,.github,LICENSE,.idea,Lion.AbpPro.Cli.sln,Lion.AbpPro.Cli.sln.DotSettings.user", - ReplaceSuffix = ".sln,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", + ReplaceSuffix = ".slnx,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", OldCompanyName = "Lion", OldProjectName = "AbpPro" }, new AbpProTemplateOptions("pro-nuget", "pro-nuget", "Nuget完整版本") { ExcludeFiles = "aspnet-core,pro-module,docs,.github,LICENSE,.idea,Lion.AbpPro.Cli.sln,Lion.AbpPro.Cli.sln.DotSettings.user", - ReplaceSuffix = ".sln,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", + ReplaceSuffix = ".slnx,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", OldCompanyName = "MyCompanyName", OldProjectName = "MyProjectName" }, @@ -46,7 +46,7 @@ public class AbpProCliCoreModule : AbpModule new AbpProTemplateOptions("pro-module", "pro-module", "模块") { ExcludeFiles = "aspnet-core,vben28,abp-nuget,docs,.github,LICENSE,.idea,Lion.AbpPro.Cli.sln,Lion.AbpPro.Cli.sln.DotSettings.user", - ReplaceSuffix = ".sln,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", + ReplaceSuffix = ".slnx,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", OldCompanyName = "MyCompanyName", OldProjectName = "MyProjectName", OldModuleName = "MyModuleName", @@ -63,7 +63,7 @@ public class AbpProCliCoreModule : AbpModule new AbpProTemplateOptions("pro", "pro", "商业版本源码版本") { ExcludeFiles = ".github,LICENSE,Readme.md,.templates,Lion.AbpPro.Cli.sln", - ReplaceSuffix = ".sln,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", + ReplaceSuffix = ".slnx,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets", OldCompanyName = "Lion", OldProjectName = "AbpPro", OldModuleName = "", @@ -71,8 +71,8 @@ public class AbpProCliCoreModule : AbpModule new AbpProTemplateOptions("pro-nuget", "pro-nuget", "商业版本nuget版本") { - ExcludeFiles = ".github,LICENSE,Readme.md,aspnet-core,.idea,gateways,MyCompanyName.MyProjectName.Gateways.sln,MyCompanyName.MyProjectName.Gateways.sln.DotSettings.user", - ReplaceSuffix = ".sln,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets,.sln.DotSettings.user", + ExcludeFiles = ".github,LICENSE,Readme.md,aspnet-core,.idea,gateways,MyCompanyName.MyProjectName.Gateways.slnx,MyCompanyName.MyProjectName.Gateways.slnx.DotSettings.user", + ReplaceSuffix = ".slnx,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets,.sln.DotSettings.user", OldCompanyName = "MyCompanyName", OldProjectName = "MyProjectName", OldModuleName = "", @@ -80,8 +80,8 @@ public class AbpProCliCoreModule : AbpModule new AbpProTemplateOptions("pro-nuget-gateways", "pro-nuget", "商业版本nuget网关版本") { - ExcludeFiles = ".github,LICENSE,Readme.md,aspnet-core,.idea,MyCompanyName.MyProjectName.sln,MyCompanyName.MyProjectName.sln.DotSettings.user,Lion.AbpPro.Cli.sln", - ReplaceSuffix = ".sln,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets,.sln.DotSettings.user", + ExcludeFiles = ".github,LICENSE,Readme.md,aspnet-core,.idea,MyCompanyName.MyProjectName.slnx,MyCompanyName.MyProjectName.slnx.DotSettings.user,Lion.AbpPro.Cli.sln", + ReplaceSuffix = ".slnx,.csproj,.cs,.cshtml,.json,.ci,.yml,.yaml,.nswag,.DotSettings,.env,Directory.Build.Lion.targets,.sln.DotSettings.user", OldCompanyName = "MyCompanyName", OldProjectName = "MyProjectName", OldModuleName = "", diff --git a/templates/pro-module/Directory.Build.targets b/templates/pro-module/Directory.Build.targets index fb6f557c..ec1ddb7c 100644 --- a/templates/pro-module/Directory.Build.targets +++ b/templates/pro-module/Directory.Build.targets @@ -2,7 +2,8 @@ - + + latest 1.0.0 diff --git a/templates/pro-nuget/service/Directory.Build.targets b/templates/pro-nuget/service/Directory.Build.targets index fb6f557c..aec6a4dc 100644 --- a/templates/pro-nuget/service/Directory.Build.targets +++ b/templates/pro-nuget/service/Directory.Build.targets @@ -2,6 +2,7 @@ + latest