diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d715ce72..8f799ee1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -98,8 +98,8 @@ jobs:
dotnet pack --property:FlecsVersionSuffix=$FlecsVersionSuffix -c Debug
dotnet pack --property:FlecsVersionSuffix=$FlecsVersionSuffix -c Release
else
- dotnet pack --property:FlecsVersionSuffix=$FlecsVersionSuffix --property:DebugType=embedded -c Debug
- dotnet pack --property:FlecsVersionSuffix=$FlecsVersionSuffix --property:DebugType=embedded -c Release
+ dotnet pack --property:FlecsVersionSuffix=$FlecsVersionSuffix --property:FlecsPackPdb=true -c Debug
+ dotnet pack --property:FlecsVersionSuffix=$FlecsVersionSuffix --property:FlecsPackPdb=true -c Release
fi
- name: Upload Artifacts
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index de2880af..ed2085a6 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -4,6 +4,7 @@
$(NoWarn);NETSDK1138
true
true
+ $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb