Bundle Dapr.SecretsManagement.* and Dapr.StateManagement.* into single NuGet packages#1827
Merged
Merged
Conversation
…n-packable Agent-Logs-Url: https://github.com/dapr/dotnet-sdk/sessions/5b315b47-048f-4108-9f0b-1a00186f6069 Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
WhitWaldo
May 21, 2026 18:31
View session
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1827 +/- ##
==========================================
+ Coverage 63.46% 63.47% +0.01%
==========================================
Files 312 312
Lines 9279 9279
Branches 1101 1101
==========================================
+ Hits 5889 5890 +1
- Misses 3129 3130 +1
+ Partials 261 259 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follows the bundling pattern established for
Dapr.Workflowin #1824. Previouslydotnet packemitted standaloneDapr.SecretsManagement.Abstractions,Dapr.SecretsManagement.Runtime,Dapr.StateManagement.Abstractions, andDapr.StateManagement.Runtimepackages alongside their aggregator packages.The
Dapr.SecretsManagementandDapr.StateManagementaggregator projects already embed the child assemblies (underlib/<tfm>/) and source generators (underanalyzers/dotnet/cs/), so only the children needed to be opted out of packing.<IsPackable>false</IsPackable>plusPackageId/Title/Descriptionmetadata to the four child csproj files, matching theDapr.Workflow.Abstractions/Dapr.Workflow.Grpcstyle.Dapr.SecretsManagement.csprojandDapr.StateManagement.csprojalready collect child outputs viaTargetsForTfmSpecificContentInPackage.Result of
dotnet pack all.sln -c Release: onlyDapr.SecretsManagement.<ver>.nupkgandDapr.StateManagement.<ver>.nupkgare produced, each containinglib/{net8.0,net9.0,net10.0}/{Abstractions,Runtime}.dllandanalyzers/dotnet/cs/*.Generators.dll.Issue reference
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:
Dapr.SecretsManagement.Runtime.Test— 39 tests, andDapr.StateManagement.Test— 54 tests, all pass on net8/net9/net10)