This is an automated email from the ASF dual-hosted git repository.

FreeAndNil pushed a commit to branch Feature/305-dotnet-10-build-cleanup
in repository https://gitbox.apache.org/repos/asf/logging-log4net.git

commit 6126888585182917dd2dccdea6532e40e5aeb043
Author: Jan Friedrich <[email protected]>
AuthorDate: Tue Aug 4 23:35:27 2026 +0200

    Fix the log4net.Ext.Mail package readme
    
      PackageReadmeFile requires the readme at the package root, so packing
      README.md without a PackagePath failed with NU5039. Matches the pattern
      already used in log4net.csproj.
---
 src/changelog/3.4.0/305-fix-ext-mail-package-readme.xml | 12 ++++++++++++
 src/log4net.Ext.Mail/log4net.Ext.Mail.csproj            |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/changelog/3.4.0/305-fix-ext-mail-package-readme.xml 
b/src/changelog/3.4.0/305-fix-ext-mail-package-readme.xml
new file mode 100644
index 00000000..3aa37d0a
--- /dev/null
+++ b/src/changelog/3.4.0/305-fix-ext-mail-package-readme.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="https://logging.apache.org/xml/ns";
+       xsi:schemaLocation="https://logging.apache.org/xml/ns 
https://logging.apache.org/xml/ns/log4j-changelog-0.xsd";
+       type="fixed">
+  <issue id="305" link="https://github.com/apache/logging-log4net/pull/305"/>
+  <description format="asciidoc">
+    fix the `log4net.Ext.Mail` package failing to pack with `NU5039` (`The 
readme file 'README.md'
+    does not exist in the package`), because the `README.md` item was packed 
without a
+    `PackagePath`
+  </description>
+</entry>
diff --git a/src/log4net.Ext.Mail/log4net.Ext.Mail.csproj 
b/src/log4net.Ext.Mail/log4net.Ext.Mail.csproj
index 6da32c03..2a182876 100644
--- a/src/log4net.Ext.Mail/log4net.Ext.Mail.csproj
+++ b/src/log4net.Ext.Mail/log4net.Ext.Mail.csproj
@@ -70,7 +70,7 @@
     <Compile Include="..\log4net\Util\Log4NetAssert.cs" 
Link="Util\Log4NetAssert.cs" />
   </ItemGroup>
   <ItemGroup>
-    <None Include="README.md" Pack="true" />
+    <None Include="README.md" Pack="true" PackagePath="\" />
   </ItemGroup>
   <ItemGroup Label="Packaging">
     <Content Include="..\..\package-icon.png" PackagePath="package-icon.png">

Reply via email to