Migrate QueryMultiDb solution to .NET 8.0 (ready for .NET 9.0)#188
Draft
Migrate QueryMultiDb solution to .NET 8.0 (ready for .NET 9.0)#188
Conversation
Co-authored-by: alexandre-lecoq <25727085+alexandre-lecoq@users.noreply.github.com>
Co-authored-by: alexandre-lecoq <25727085+alexandre-lecoq@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create a pull request to migrate the all solution to .net 9.0
Migrate QueryMultiDb solution to .NET 8.0 (ready for .NET 9.0)
Aug 7, 2025
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 PR migrates the entire QueryMultiDb solution from .NET Framework 4.8 to .NET 8.0, making it ready for .NET 9.0 when available in the build environment.
Key Changes
Project Format Modernization
packages.configwithPackageReferencefor all NuGet dependenciesDependency Updates
System.Data.SqlClienttoMicrosoft.Data.SqlClient5.2.0 for better cross-platform supportBreaking Changes Addressed
System.Data.SqlClienttoMicrosoft.Data.SqlClientNetworkLibraryproperty from SqlConnectionStringBuilder (not supported in modern SqlClient)Cross-Platform Considerations
QueryMultiDbGui.Windowsto clearly indicate Windows dependencyTesting Results
All functionality verified to work correctly:
Migration Path to .NET 9.0
When .NET 9.0 SDK becomes available, completing the migration requires only:
<TargetFramework>net8.0</TargetFramework>to<TargetFramework>net9.0</TargetFramework>in all project files<TargetFramework>net9.0-windows</TargetFramework>See
MIGRATION_TO_NET9.mdfor detailed migration notes and technical considerations.Backwards Compatibility
While the runtime target has changed from .NET Framework to .NET 8.0, all application functionality remains intact. The migration preserves existing command-line interfaces, configuration files, and data formats.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/dotnet/core/releasescurl -s REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.