Skip to content

Added support for net7.0 #682

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

Merged
merged 16 commits into from
Sep 19, 2022
Merged

Added support for net7.0 #682

merged 16 commits into from
Sep 19, 2022

Conversation

seesharper
Copy link
Collaborator

@seesharper seesharper commented Sep 16, 2022

This PR adds support for the upcoming net7.0 which is currently in RC1.

Removed support for netcoreapp3.1

netcoreapp3.1 reaches EoS (End of Support) on December 13, 2022 and we now support net5.0, net6.0 and net7.0.

Moved build to Github Actions

The build has been moved from Azure Devops to GitHub Actions. The old build was sort of a mess and a lot was cleaned up here. All jobs now basically have the exact same setup.

OmniSharp

Dotnet.Script.DependencyModel and Dotnet.Script.DependencyModel.Nuget need to be updated in Omnisharp to support net7.0. We used to have a framework check in CompilationDependencyResolver which was a leftover from when we supported netcoreapp2.1. This check is now removed meaning that with regards to netcoreapp3.1 which still has a couple of months left, it will still work for resolving compilation dependencies.

Versions

The versions has been bumped to 1.4.0 leaving a bit of room if we should need to fix something before netcoreapp3.1 goes out of support.

In my opinion we can release this now and get Dotnet.Script.DependencyModel and Dotnet.Script.DependencyModel.Nuget updated in Omnisharp in good time before net7.0 goes RTM.
Hopefully a new version of OmniSharp will be released by then and we avoid resolving to latest for users that wants to start using net7.0

Build Script

Just a couple of path-related issues where we in the past assumed running the script from the build folder.

@seesharper seesharper requested a review from filipw September 16, 2022 17:00
Copy link
Member

@filipw filipw left a comment

Choose a reason for hiding this comment

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

thanks! let' get rid of 5.0 too

@seesharper
Copy link
Collaborator Author

@filipw Removed net5.0.
Could you remove the Azure Devops checks?

I don't seem to have the permissions to change the settings 😃

@filipw filipw merged commit 1fdb96d into master Sep 19, 2022
@filipw
Copy link
Member

filipw commented Sep 19, 2022

done, thanks!!

@filipw filipw deleted the net7 branch September 19, 2022 14:15
@seesharper
Copy link
Collaborator Author

Great. I'll release this then?. After that Omnisharp needs to be updated with the latest dotnet-script packages. 👍🙂

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.

2 participants