Conversion to/from powershell/C# not functioning

Using the examples on the main page, attempting to convert from C# to Powershell results in an error, that it could not find Microsoft.CodeAnalysis.CSharp version 4.0.0.0 or one of its dependencies.

When trying to convert from Powershell to C#, sometimes it erases the selected powershell and sometimes it does nothing. No error is generated.

I have tried uninstalling and reinstalling to no avail. I have separately obtained Microsoft.CodeAnalysis.CSharp version 4.0.0.0 via NuGet as per a StackOverflow solution, also to no effect.

This is on VS2019.

Hey @Altainia,

We are dropping support for code conversion in PowerShell Pro Tools but have released this module as open-source.

While you won’t be able to use this in Visual Studio, you can use our new module: GitHub - ironmansoftware/code-conversion: Code conversion cmdlets for PowerShell and C#

You don’t need to install a license or anything.