Powershell is installed.This MSDN page mentions system.management.automation.dll, however searching for this file finds nothing.
Where is this library?
Thanks,
Carol
C:\windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll C:\
Then open it in Visual Studio Version Selector (whatever that is - it just came up as the recommended app), then use Save As to save the dll to the location of oyur choice.
How convoluted is that??
Carol
$ref=[psobject].assembly.location
Now, the proper/best practices way is to go and get the latest Windows SDK, but the above will work also.
I know this is a very delayed reply, but I too was following the "getting started" for Powershell Providers, and step 1 just says "Add the System.Management.Automation assembly as a reference to your project."
Searching Google, this was the second hit still, so I thought I'd mention that I was able to find the Powershell 3.0 version of this assembly in NuGet.
Manage NuGet Packages... > search for System.Management.Automation -> look for package with description "... for PowerShell 3.0"
Hope this helps someone else too!
Cheers.
Thread is closed. You are still searching in the wrong forum for support with Visual Studio projects.
The issue is that you install the SDK on the development machine but you have to be careful about references set in code as the reference DDLL is not required once the project is built.
To learn how to use VS and reference assemblies please post your specific issue to the MSDN Visual Studio forum.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio