From 392afa1b727de3e7c5a619d2031625a7e68f698c Mon Sep 17 00:00:00 2001 From: oldli Date: Wed, 6 Nov 2019 09:52:41 +0800 Subject: [PATCH 01/71] =?UTF-8?q?=E5=85=BC=E5=AE=B9.net=20core=203.0?= =?UTF-8?q?=E5=92=8C2.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Directory.Build.props | 2 +- src/Library/Application/Application.csproj | 4 +-- src/Library/Domain/Domain.csproj | 6 ++-- .../Infrastructure/Infrastructure.csproj | 35 ++++++++++++++++++- .../T4/src/Library/Application/Csproj.cs | 4 +-- .../T4/src/Library/Application/Csproj.tt | 4 +-- .../Default/T4/src/Library/Domain/Csproj.cs | 6 ++-- .../Default/T4/src/Library/Domain/Csproj.tt | 6 ++-- .../T4/src/Library/Infrastructure/Csproj.cs | 2 +- .../T4/src/Library/Infrastructure/Csproj.tt | 2 +- .../Templates/Default/T4/src/Web/Csproj.cs | 21 ++++++----- .../Templates/Default/T4/src/Web/Csproj.tt | 10 +++--- .../Default/T4/src/Web/ModuleInitializer.cs | 17 +++++---- .../Default/T4/src/Web/ModuleInitializer.tt | 9 +++++ .../Default/T4/src/WebHost/Csproj.cs | 14 ++++---- .../Default/T4/src/WebHost/Csproj.tt | 14 ++++---- .../_modules/CodeGenerator/_module.json | 2 +- src/Web/ModuleInitializer.cs | 9 +++++ src/Web/Web.csproj | 10 +++--- src/WebHost/WebHost.csproj | 12 +++---- 20 files changed, 125 insertions(+), 64 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index bc51e45..4ede0c2 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -3,7 +3,7 @@ CodeGenerator 代码生成器 Oldli - 1.4.5 + 1.5.0 NetModular Module $(Id)($(Name)) - $(MSBuildProjectName) $(NoWarn);1591 Latest diff --git a/src/Library/Application/Application.csproj b/src/Library/Application/Application.csproj index 422e12b..d6026e9 100644 --- a/src/Library/Application/Application.csproj +++ b/src/Library/Application/Application.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/Library/Domain/Domain.csproj b/src/Library/Domain/Domain.csproj index d4b2cf8..08a1105 100644 --- a/src/Library/Domain/Domain.csproj +++ b/src/Library/Domain/Domain.csproj @@ -5,9 +5,9 @@ - - - + + + diff --git a/src/Library/Infrastructure/Infrastructure.csproj b/src/Library/Infrastructure/Infrastructure.csproj index 7ffd62f..e401400 100644 --- a/src/Library/Infrastructure/Infrastructure.csproj +++ b/src/Library/Infrastructure/Infrastructure.csproj @@ -7,7 +7,7 @@ - + @@ -665,4 +665,37 @@ + + + True + True + Csproj.tt + + + True + True + Csproj.tt + + + True + True + Csproj.tt + + + True + True + Csproj.tt + + + True + True + Csproj.tt + + + True + True + ModuleInitializer.tt + + + diff --git a/src/Library/Infrastructure/Templates/Default/T4/src/Library/Application/Csproj.cs b/src/Library/Infrastructure/Templates/Default/T4/src/Library/Application/Csproj.cs index 1034412..99eec5a 100644 --- a/src/Library/Infrastructure/Templates/Default/T4/src/Library/Application/Csproj.cs +++ b/src/Library/Infrastructure/Templates/Default/T4/src/Library/Application/Csproj.cs @@ -34,14 +34,14 @@ public virtual string TransformText() #line default #line hidden - this.Write(".Lib.Data.Query\" Version=\"1.4.0\" />\r\n \r\n