Upgrade all projects to .NET 9#331
Open
wforney wants to merge 3 commits into
Open
Conversation
This commit updates the target framework version from v4.5 to v4.8 for the following projects: Massive.MySql, Massive.Oracle, Massive.PostgreSql, Massive.SqlServer, and Massive.Sqlite. Additionally, an extraneous line has been removed from the Massive.Sqlite.csproj file to correct a formatting issue.
Refactor project files for MySql, Oracle, PostgreSQL, SqlServer, and Sqlite to use the new SDK-style format, enhancing compatibility with modern .NET tooling. Add `Directory.Build.props` for centralized project properties, including product information and assembly versioning. Remove assembly description attributes from individual assembly info files and clean up `SharedAssemblyInfo.cs` by consolidating assembly attributes. Update the solution file to reflect the new Visual Studio version (2013 to 2022) and adjust `Compile` items to streamline project structure. Add package references for `System.Configuration.ConfigurationManager` to ensure necessary dependencies are included.
Updated `Directory.Build.props` to enhance assembly metadata and added `Directory.Packages.props` for centralized package version management. Simplified project files for MySql, Oracle, PostgreSql, SqlServer, and Sqlite by removing specific version numbers for `System.Configuration.ConfigurationManager`, allowing for more flexible dependency management.
Open
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 pull request modernizes the build system and project files for the
Massivelibrary, transitioning to a centralized package management approach and updating projects to use theMicrosoft.NET.Sdkformat withnet9.0as the target framework. It also removes redundant assembly information files and consolidates build properties into shared configuration files.Build System Modernization:
src/Massive.MySql.csproj,src/Massive.Oracle.csproj,src/Massive.PostgreSql.csproj,src/Massive.SqlServer.csproj,src/Massive.Sqlite.csproj: Updated all project files to use theMicrosoft.NET.Sdkformat and targetnet9.0. This simplifies project configuration and ensures compatibility with modern .NET versions. [1] [2] [3] [4] [5]src/Massive.sln: Updated the solution file to Visual Studio Version 17, reflecting the transition to newer tooling.Centralized Package Management:
src/Directory.Packages.props: Introduced centralized package management with transitive pinning enabled and added a version forSystem.Configuration.ConfigurationManager.Consolidation of Build Properties:
src/Directory.Build.props: Added shared build properties such as assembly title, version, copyright, and neutral language to streamline project configuration.Removal of Redundant Assembly Information:
src/Properties/MySqlAssemblyInfo.cs,src/Properties/OracleAssemblyInfo.cs,src/Properties/PostgreSqlAssemblyInfo.cs,src/Properties/SQLiteAssemblyInfo.cs,src/Properties/SqlServerAssemblyInfo.cs,src/Properties/SharedAssemblyInfo.cs) as these details are now defined centrally inDirectory.Build.props. [1] [2] [3] [4] [5] [6]