fix(packaging): align dependencies by target framework - #39
Open
Reuben Bond (ReubenBond) wants to merge 3 commits into
Open
fix(packaging): align dependencies by target framework#39Reuben Bond (ReubenBond) wants to merge 3 commits into
Reuben Bond (ReubenBond) wants to merge 3 commits into
Conversation
Multi-target the Accordant runtime libraries for netstandard2.0, net8.0, and net10.0, and package matching dependency trains for each native target. Add isolated package-consumer validation for net8 and net10 which fails on MSB3277 and verifies the selected assets and dependency groups. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Generate the net8 and net10 package consumers at runtime instead of committing a multi-project fixture graph, while retaining isolated restore, MSB3277 enforcement, and TFM asset checks. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace handwritten nuspec files with SDK pack projects, use target-framework package version overrides, and cover net8/net10 through the existing operations tests. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
Summary
netstandard2.0,net8.0, andnet10.0PackageVersion Updateoverrides fornet10.0dotnet packprojects for bothMicrosoft.AccordantandMicrosoft.Accordant.Clinet8.0andnet10.0The native package uses the matching framework assets for .NET 8 and .NET 10. SDK package pruning removes framework-provided dependencies such as
System.Text.Jsonfrom those dependency groups, while the retainednetstandard2.0asset uses the .NET 8 package train.Validation
dotnet build Accordant.slnx --no-restore --configuration Releasedotnet test Accordant.slnx --no-build --no-restore --configuration Release(405 passed, 1 skipped)Scripts/create-nuget-packages.ps1net8.0andnet10.0consumers withMSB3277promoted to an errorResolves #38