Skip to content

Upgrade all projects to .NET 9#331

Open
wforney wants to merge 3 commits into
FransBouma:v2.0from
wforney:net9
Open

Upgrade all projects to .NET 9#331
wforney wants to merge 3 commits into
FransBouma:v2.0from
wforney:net9

Conversation

@wforney

@wforney wforney commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

This pull request modernizes the build system and project files for the Massive library, transitioning to a centralized package management approach and updating projects to use the Microsoft.NET.Sdk format with net9.0 as 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 the Microsoft.NET.Sdk format and target net9.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 for System.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:

  • Removed individual assembly information files (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 in Directory.Build.props. [1] [2] [3] [4] [5] [6]

wforney added 3 commits July 8, 2025 22:45
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.
@wforney wforney mentioned this pull request Jul 9, 2025
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.

1 participant