Package BitNetSharp.App as a .NET tool and BitNetSharp.Core as a NuGet artifact in CI#10
Merged
sharpninja merged 6 commits intomainfrom Mar 17, 2026
Merged
Conversation
Co-authored-by: sharpninja <16146732+sharpninja@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Package BitNetSharp.App as a dotnet tool and BitNetSharp.Core for nuget
Package BitNetSharp.App as a .NET tool and BitNetSharp.Core as a NuGet artifact in CI
Mar 17, 2026
sharpninja
approved these changes
Mar 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds packaging metadata and CI steps so the repo can produce distributable artifacts (Core as a NuGet package and App as a .NET tool) as part of the standard GitHub Actions build.
Changes:
- Add NuGet package metadata to
BitNetSharp.Core(PackageId,Description). - Configure
BitNetSharp.Appto pack as a .NET tool with commandbitnetsharp. - Extend CI to
dotnet packboth projects and upload the resulting.nupkgartifacts.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/BitNetSharp.Core/BitNetSharp.Core.csproj | Adds package metadata for Core NuGet packing. |
| src/BitNetSharp.App/BitNetSharp.App.csproj | Enables packing the App project as a .NET tool and sets the tool command name. |
| .github/workflows/build.yml | Packs Core + tool after tests and uploads .nupkg artifacts. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Owner
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: sharpninja <16146732+sharpninja@users.noreply.github.com>
sharpninja
approved these changes
Mar 17, 2026
Contributor
Author
Addressed in 3f1ef10. Package versioning is now centralized in |
sharpninja
approved these changes
Mar 17, 2026
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.
This updates the pipeline to produce the two distributable artifacts the repo needs: a .NET tool package for
BitNetSharp.Appand a NuGet package forBitNetSharp.Core. It also adds the minimal project metadata required for those packs to succeed consistently in CI.Project packaging metadata
BitNetSharp.Appas a packable .NET toolbitnetsharpBitNetSharp.CoreCI packaging flow
dotnet packfor:src/BitNetSharp.Core/BitNetSharp.Core.csprojsrc/BitNetSharp.App/BitNetSharp.App.csproj.nupkgfiles as workflow artifacts${{ github.workspace }}for package paths so the workflow remains portable across runnersArtifact outputs
BitNetSharp.Coreis emitted as a standard library NuGet packageBitNetSharp.Appis emitted as an installable .NET tool package with the expected entrypoint📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.