Skip to content

Comments

Add NuGet packaging and CI#146

Open
rmarinho wants to merge 13 commits intomainfrom
nupkg
Open

Add NuGet packaging and CI#146
rmarinho wants to merge 13 commits intomainfrom
nupkg

Conversation

@rmarinho
Copy link
Member

@rmarinho rmarinho commented Feb 23, 2026

Summary

  • add NuGet packaging metadata + SourceLink for Xamarin.MacDev
  • add centralized build settings in Directory.Build.props
  • move shared build helpers to eng/scripts/msbuild.mk and wire Makefile
  • add nuget.version and automatic version calculation from commit count
  • add GitHub Actions CI (.github/workflows/ci.yml) for build/test on macOS+Windows, package on Windows
  • add Azure DevOps pipeline (azure-pipelines.yaml) adapted from dotnet/android-tools
  • update README to point to https://github.com/dotnet/macios
  • add repository Copilot instructions and agents under .github/
  • fix UnitTests project path discovery hang in TestHelper and normalize XML serialization test line-ending handling

Testing

  • dotnet build Xamarin.MacDev.sln -c Release
  • dotnet test UnitTests/UnitTests.csproj -c Release -f net10.0
  • dotnet pack Xamarin.MacDev/Xamarin.MacDev.csproj -c Release --no-build -p:PackageVersion=1.0.0-local

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds NuGet packaging metadata and a CI pipeline to build/test/pack the Xamarin.MacDev library, including shared build properties and Makefile helpers to standardize local and CI builds.

Changes:

  • Add NuGet package metadata + SourceLink reference to Xamarin.MacDev.
  • Introduce shared MSBuild properties (Directory.Build.props) and Make-based build abstraction (msbuild.mk + root Makefile).
  • Add GitHub Actions workflow to build, test, version, and pack NuGet artifacts on macOS and Windows.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
nuget.version Adds a base version file used by CI to compute PackageVersion.
build-tools/scripts/msbuild.mk Provides a Make-friendly abstraction for invoking MSBuild via dotnet build.
Xamarin.MacDev/Xamarin.MacDev.csproj Adds NuGet package metadata, SourceLink package reference, output path, and signing item setup.
Makefile Adds local build/clean/test/pack targets.
Directory.Build.props Adds shared repository/build output properties (and a DotNetTargetFramework property).
.github/workflows/ci.yml Adds multi-OS CI for build/test/versioning/packing and artifact upload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rmarinho and others added 2 commits February 23, 2026 19:44
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rmarinho and others added 10 commits February 24, 2026 14:05
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rmarinho rmarinho requested a review from rolfbjarne February 25, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants