Is there a 2.0 (or greater) version of the System.Management.Automation assembly?
I'm looking at the PowerShell class in C# which says that this class was introduced with PowerShell 2.0. Does that version number correspond with the version number I'm seeing when I add the reference to the assembly in Visual Studio?
This is kind of an additional question to my other question which is in regards to having trouble resolving the PowerShell class inside that assembly.
I've tried the System.Management.Automation assembly in both the GAC:
C:\Windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35
And Reference Assemblies:
C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0
Both containing folders only have version 1.0
I have PowerShell 2.0 installed.