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 PesterTests and devcontainer to .NET 8 #2430

Merged
merged 6 commits into from
Apr 7, 2024

Conversation

fflaten
Copy link
Collaborator

@fflaten fflaten commented Apr 3, 2024

PR Summary

.NET 6 is reaching EOL later this year. PR changes:

  • Updates devcontainer image to .NET 8 SDK. Adds extensions to improve pipelines/workflows DX
  • Updates PesterTests to .NET 8 runtime and latest dependencies
  • Updates CONTRIBUTING docs to require .NET 8 SDK
  • Ignores build warning about vulnerable PowerShell SDK dependency (<6.1.6), related Pester 5 does not load on PowerShell 6.0.4 #2207

.NET 8 SDK is already used for building in Azure Pipelines CI.

PR Checklist

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

CONTRIBUTING.md Outdated

[Download Link](https://dotnet.microsoft.com/download/dotnet-core/6.0)
[Download Link](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)

### .Net Framework 4.5 Developer Pack
Copy link
Collaborator Author

@fflaten fflaten Apr 3, 2024

Choose a reason for hiding this comment

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

Is the .NET Framework 4.5 Developer Pack necessary now that we use Microsoft.NETFramework.ReferenceAssemblies package? Haven't tested building on Windows in a while.

Copy link
Member

Choose a reason for hiding this comment

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

Probably not (I have all of them installed so I cannot easily check), but the whole point of that nuget is that you can build .NET Framework even on Linux where it cannot run (without mono).

Copy link
Member

Choose a reason for hiding this comment

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

Cannot make suggestion that deletes it, please delete it.

@nohwnd
Copy link
Member

nohwnd commented Apr 6, 2024

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@nohwnd
Copy link
Member

nohwnd commented Apr 7, 2024

Partly addressed in #2432, I will merge the changes once it is in.

@nohwnd nohwnd merged commit abee795 into pester:main Apr 7, 2024
10 of 11 checks passed
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