-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Only support netstandard2.0 and net8 builds #1189
Labels
Milestone
Comments
Agreed, in which case we could just support anything that is currently in support (assuming PS7.3 is unsupported at this point, as it is ~1 month away):
So when PS7.5 rolls around, and PS7.2's support expires, it would be:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Change
To save having to compile the Pode DLL for multiple versions of .NET and PowerShell, it would be simpler to only compile Pode to support Windows PowerShell 5.1 and the latest PowerShell version (7.4 currently) - anything in between would use the same DLL as 5.1.
To achieve this, we can compile Pode using netstandard2.0, which every version of PowerShell will default to using. And then compile Pode using the latest version of .NET (ie: .NET8), and this version will be used by the latest version of PowerShell.
For example:
netstandard2.0
net8.0
When PS7.5 rolls around, then 7.4 will default to netstandard2.0, and net9.0 used for 7.5.
The text was updated successfully, but these errors were encountered: