#12782 introduced a new abstract member on PSHostUserInterface. This makes it impossible to implement PSHostUserInterface for both PS 7.1 and any earlier PowerShell version. Instead we get a TypeLoadException.
An explanation of this is here: #12782 (comment)
You can find the Host UI implementation (which works today with PS 7.0 and PS 5.1) here.
#12782 introduced a new abstract member on
PSHostUserInterface. This makes it impossible to implementPSHostUserInterfacefor both PS 7.1 and any earlier PowerShell version. Instead we get aTypeLoadException.An explanation of this is here: #12782 (comment)
You can find the Host UI implementation (which works today with PS 7.0 and PS 5.1) here.