Repository navigation
Update to .NET 10 and latest packages; move build and NuGet release to GitHub Actions - #34
Merged
Merged
Conversation
- Target netstandard2.1, net472, net8.0 and net10.0 (incl. iOS, macOS, Mac Catalyst, tvOS, Android, WPF and WinUI); drop .NET 9 targets - Update Microsoft.Extensions.DependencyInjection(.Abstractions) to 10.0.12, WindowsAppSDK to 1.8, Windows SDK BuildTools, MSTest 4, Test SDK, coverlet and DSoft.System.Mvvm - Move UnitTest and WPFSample to .NET 10 - Use the SDK's built-in Source Link, set ContinuousIntegrationBuild on GitHub Actions, add MIT license expression to packages - Replace Azure Pipelines with GitHub Actions build and release workflows; release publishes to nuget.org using the NUGET_API_KEY secret Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TreMhFY8KtDPoVeKPL7NzX
Resolve package version conflicts by taking the newest of each (WindowsAppSDK 2.5.1, Windows SDK BuildTools 10.0.28000.2705, DependencyInjection 10.0.12, MSTest 4.4.1), keep coverlet as a private asset, drop the Azure release pipeline, bump the release version prefix to 4.5 so GitHub Actions builds sort above Azure's 4.4 builds, and update CLAUDE.md for .NET 10 and the new workflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TreMhFY8KtDPoVeKPL7NzX
- actions/checkout v7, actions/setup-dotnet v6, actions/upload-artifact v7 (removes the Node.js 20 deprecation warning) - Replace obsolete [DataTestMethod] with [TestMethod] (MSTEST0044) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TreMhFY8KtDPoVeKPL7NzX
Replace the stored NUGET_API_KEY with NuGet/login (OIDC), which exchanges the GitHub Actions token for a short-lived nuget.org API key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TreMhFY8KtDPoVeKPL7NzX
- ci.yml validates pull requests into main (build Release + tests), publishes nothing; replaces build.yml - release.yml follows the DSoft.DataPrivacy release: 4.5.yyMM.<run number> with optional RELEASE_SUFFIX, trusted publishing to nuget.org, then tags the commit and creates a GitHub release with the packages attached Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TreMhFY8KtDPoVeKPL7NzX
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
Updates the library to current frameworks and packages, and replaces the Azure DevOps pipelines with GitHub Actions — a CI workflow for pull requests and a release workflow modelled on DSoft.DataPrivacy, publishing to nuget.org via NuGet trusted publishing.
Frameworks
DSoft.MessageBusnow targetsnetstandard2.1,net472,net8.0,net8.0-windows7.0(WPF), andnet10.0incl. iOS, macOS, Mac Catalyst, tvOS, Android, WPF (windows7.0) and WinUI (windows10.0.19041).net8.0-windows10.0.19041WinUI target. .NET 9 consumers resolve to thenet8.0assets.UnitTestandWPFSamplemoved to .NET 10.Packages
Microsoft.SourceLink.GitHubpackage — Source Link is built into the .NET SDK.[DataTestMethod]with[TestMethod](MSTEST0044).Build properties
ContinuousIntegrationBuildset on GitHub Actions; MITPackageLicenseExpressionadded.Version/AssemblyVersion/FileVersionremoved from the csproj — CI sets them.CI/CD (GitHub Actions,
windows-latest), matching DSoft.DataPrivacy.github/workflows/ci.yml— pull requests intomain(and manual runs): restore workloads, build Release, run tests. Publishes nothing..github/workflows/release.yml— every push tomain(ignoring**.mdand.github/workflows/**-only changes) or manual run: version4.5.<yyMM>.<run number>(+ optionalRELEASE_SUFFIXfor prereleases), build, test, upload thedropartifact, push to nuget.org viaNuGet/login(OIDC trusted publishing,nugetenvironment), then tagv<version>and create a GitHub release with the packages attached. The 4.5 prefix keeps new builds above Azure's 4.4 builds.azure-pipelines-mergetest.ymlandazure-pipelines-release.yml.README and CLAUDE.md updated accordingly.
Before merging
NUGET_USERsecret and a nuget.org trusted publishing policy fornewky2k/MessageBus, workflowrelease.yml, environmentnuget(done).Testing
release.ymlonly runs onmain, so it will first run on merge.🤖 Generated with Claude Code
https://claude.ai/code/session_01TreMhFY8KtDPoVeKPL7NzX