Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project to .NET 8.0 and refactor code #4017

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

luizfbicalho
Copy link
Contributor

@luizfbicalho luizfbicalho commented Jun 11, 2024

Updated the target framework for the projects from .NET 6.0 and .NET 5.0 to .NET 8.0. This includes changes to the .csproj files and the conditional compilation symbols in the code. Package references have been updated to their respective versions for .NET 8.0. Removed code blocks and package references specific to .NET 6.0 or .NET Core 3.1. Introduced the use of AssemblyLoadContext class for managing the execution context of an assembly. Updated the usage of System.Runtime.Loader and Csla.Runtime namespaces, type rules and method cache handling, transaction types handling, and TransactionalTypes enum to be compatible with .NET 8.0. Updated usage of several classes and AssemblyLoadContextManager based on the .NET version.

#3712

Updated the target framework for the projects from .NET 6.0 and .NET 5.0 to .NET 8.0. This includes changes to the `.csproj` files and the conditional compilation symbols in the code. Package references have been updated to their respective versions for .NET 8.0. Removed code blocks and package references specific to .NET 6.0 or .NET Core 3.1. Introduced the use of `AssemblyLoadContext` class for managing the execution context of an assembly. Updated the usage of `System.Runtime.Loader` and `Csla.Runtime` namespaces, type rules and method cache handling, transaction types handling, and `TransactionalTypes` enum to be compatible with .NET 8.0. Updated usage of several classes and `AssemblyLoadContextManager` based on the .NET version.
@rockfordlhotka rockfordlhotka self-requested a review June 11, 2024 15:46
Copy link
Member

@rockfordlhotka rockfordlhotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great @luizfbicalho !

One step remains, and that is to also update the nuspec files in the NuGet/Definition directory.

Dropped support for .NET 6.0 by removing its dependencies and files from various NuSpec files. Updated the target framework for `Csla.Channels.RabbitMq.NuSpec` from `net6.0` to `net8.0`. Also, updated the dependencies and project files for .NET 8.0 in several NuSpec files.
@rockfordlhotka rockfordlhotka linked an issue Jun 11, 2024 that may be closed by this pull request
@rockfordlhotka rockfordlhotka merged commit c80bbd9 into MarimerLLC:main Jun 11, 2024
1 check passed
@luizfbicalho luizfbicalho deleted the remove-net-60 branch June 11, 2024 22:10
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.

Remove .NET 6 support
2 participants