Skip to content

fix: bump Microsoft.Data.SqlClient to 6.0.5 in PluginDatabaseSample#180

Open
alafleur-genetec wants to merge 1 commit into
mainfrom
fix/plugindatabase-sqlclient-bump
Open

fix: bump Microsoft.Data.SqlClient to 6.0.5 in PluginDatabaseSample#180
alafleur-genetec wants to merge 1 commit into
mainfrom
fix/plugindatabase-sqlclient-bump

Conversation

@alafleur-genetec
Copy link
Copy Markdown
Member

This pull request updates the Microsoft.Data.SqlClient package in the PluginDatabaseSample project to a newer version.

Dependency update:

  • Upgraded the Microsoft.Data.SqlClient NuGet package from version 5.2.2 to 6.0.5 in PluginDatabaseSample.csproj to ensure compatibility with the latest features and security fixes.

Genetec.Sdk.Plugin 5.14 was built against Microsoft.Data.SqlClient
assembly version 6.0.0.0, but PluginDatabaseSample referenced 5.2.2.
Result: CS1705 build error.

Bumping the package reference to 6.0.5 (latest 6.0.x patch, same
assembly major as the SDK requires).

Verified locally: dotnet build now produces zero CS errors for this
project. The sample's code uses standard SqlConnection/SqlCommand/
SqlParameter APIs that are stable between 5.x and 6.x; no source
changes needed.
Copy link
Copy Markdown
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 updates the SQL Server client dependency used by the PluginDatabaseSample project.

Changes:

  • Bumped Microsoft.Data.SqlClient from 5.2.2 to 6.0.5.

💡 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

Development

Successfully merging this pull request may close these issues.

2 participants