Is there a 2.0 (or more) version of the System.Management.Automation assembly?
I am considering a PowerShell class in C # that says that this class was introduced using PowerShell 2.0 . Does the version number correspond to the version number that I see when I add the assembly reference in Visual Studio?
This is an additional question to my other question , which is that it has problems resolving the PowerShell class inside this assembly.
I tried building System.Management.Automation as in 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 folders contain only version 1.0
I have PowerShell 2.0 installed.
source share