Read-host not working in VS 2022

I’m using PowerShell Tools for VS 2022. I sometimes test my scripts from within Visual Studio and I’m using Read-host for confirmations and collecting other parameters.

Read-host is throwing the error below. For my web and console applications I would normally just use NuGet to add the package. How do I get this assembly loaded in my PowerShell solution?

[ERROR] Read-Host : Could not load file or assembly ‘Nito.AsyncEx.Context,
[ERROR] Version=5.1.0.0, Culture=neutral, PublicKeyToken=null’ or one of its
[ERROR] dependencies. A strongly-named assembly is required. (Exception from HRESULT:

I’ve opened a bug report for this here: Read-Host doesn't work in VS2022 · Issue #1099 · ironmansoftware/issues · GitHub