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(" ", "_"))