From 40283ce5603ac7b8957856e58ca54e4c509c4f6f Mon Sep 17 00:00:00 2001 From: walterlv Date: Wed, 13 Nov 2024 09:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8=E5=BC=80=E5=8F=91=E8=80=85?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=97=A5=E5=BF=97=E7=9A=84=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Properties/Package/buildTransitive/Package.props | 4 ++++ .../Properties/Package/buildTransitive/Package.targets | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.props b/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.props index 0526221..78c82ae 100644 --- a/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.props +++ b/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.props @@ -18,6 +18,10 @@ - 所谓优先,指的是生成 global usings 以指定优先级; --> + + + diff --git a/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.targets b/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.targets index e830c51..a35527c 100644 --- a/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.targets +++ b/src/dotnetCampus.Logger/Properties/Package/buildTransitive/Package.targets @@ -43,7 +43,8 @@ - <_DLRootNamespace>$(RootNamespace) + <_DLRootNamespace Condition=" '$(_DLRootNamespace)' == '' ">$(DCGeneratedLoggerNamespace) + <_DLRootNamespace Condition=" '$(_DLRootNamespace)' == '' ">$(RootNamespace) <_DLRootNamespace Condition=" '$(_DLRootNamespace)' == '' ">$(MSBuildProjectName.Replace(" ", "_"))