Skip to content

Goodbye nuspec#1807

Merged
shimat merged 6 commits intomainfrom
goodbye_nuspec
Feb 14, 2026
Merged

Goodbye nuspec#1807
shimat merged 6 commits intomainfrom
goodbye_nuspec

Conversation

@shimat
Copy link
Owner

@shimat shimat commented Feb 14, 2026

No description provided.

@shimat shimat self-assigned this Feb 14, 2026
Copilot AI review requested due to automatic review settings February 14, 2026 10:17
Copy link
Contributor

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

This PR migrates the OpenCvSharp project from using standalone .nuspec files to SDK-style .csproj files for NuGet package generation. This modernization simplifies the build process by consolidating package metadata directly into project files and using dotnet pack instead of nuget pack.

Changes:

  • Migrated all NuGet package metadata from .nuspec files to SDK-style .csproj files for core libraries and runtime packages
  • Updated GitHub Actions workflows to use dotnet pack with version parameters instead of nuget pack with XML manipulation
  • Upgraded actions/upload-artifact from v4 to v6 in some workflows
  • Updated target frameworks for some runtime packages (netcoreapp2.1 → netcoreapp3.1)

Reviewed changes

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

Show a summary per file
File Description
src/OpenCvSharp/OpenCvSharp.csproj Added NuGet package metadata and changed PackageId to OpenCvSharp4
src/OpenCvSharp.WpfExtensions/OpenCvSharp.WpfExtensions.csproj Added NuGet package metadata including PackageId OpenCvSharp4.WpfExtensions
src/OpenCvSharp.Extensions/OpenCvSharp.Extensions.csproj Added NuGet package metadata and changed PackageId to OpenCvSharp4.Extensions
nuget/OpenCvSharp4.runtime.win.csproj New file: migrated from .nuspec to .csproj for Windows runtime package
nuget/OpenCvSharp4.runtime.wasm.csproj Migrated from .nuspec to .csproj for WebAssembly runtime package
nuget/OpenCvSharp4.runtime.uwp.csproj New file: migrated from .nuspec to .csproj for UWP runtime package
nuget/OpenCvSharp4.runtime.osx.10.15-x64.csproj Migrated from .nuspec to .csproj for macOS runtime package
nuget/OpenCvSharp4.runtime.linux-arm.csproj Migrated from .nuspec to .csproj for Linux ARM runtime package
nuget/OpenCvSharp4.official.runtime.ubuntu.24.04-x64.csproj Migrated from .nuspec to .csproj for Ubuntu 24.04 runtime package
nuget/OpenCvSharp4.official.runtime.ubuntu.22.04-x64.csproj Migrated from .nuspec to .csproj for Ubuntu 22.04 runtime package
nuget/OpenCvSharp4.official.runtime.linux-x64.csproj Migrated from .nuspec to .csproj for generic Linux runtime package
nuget/OpenCvSharp4.Windows.csproj New file: migrated from .nuspec to .csproj for Windows meta-package
.github/workflows/windows.yml Updated to use dotnet pack and removed nuspec version manipulation; upgraded to upload-artifact@v6
.github/workflows/wasm.yml Updated to use dotnet pack with version parameter
.github/workflows/ubuntu24.yml Updated to use dotnet pack with version parameter; upgraded to upload-artifact@v6
.github/workflows/ubuntu22.yml Updated to use dotnet pack with version parameter; upgraded to upload-artifact@v6
.github/workflows/linux-arm.yml Updated to use dotnet pack with version parameter; upgraded to upload-artifact@v6

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

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