Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference assemblies are needed for above example #4210

Open
moerwald opened this issue Apr 24, 2019 — with docs.microsoft.com · 1 comment
Open

Reference assemblies are needed for above example #4210

moerwald opened this issue Apr 24, 2019 — with docs.microsoft.com · 1 comment
Labels
area-sdk-ref Area - SDK .NET API

Comments

Copy link
Contributor

moerwald commented Apr 24, 2019

Enhancement: Mention that the user will need the "Microsoft.PowerShell.5.ReferenceAssemblies" NuGet package, to retrieve "System.Management.Automation"


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@sdwheeler sdwheeler added the area-sdk-ref Area - SDK .NET API label Apr 24, 2019
Copy link

RansomVO commented Jul 16, 2019

Do this:

  1. Right-click on References and select "Add Reference..."
  2. On the bottom, click the "Browse..." button.
  3. Navigate to "C:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0"
  4. Select System.Management.Automation.dll and hit the "Add" button.
    (Refer to https://docs.microsoft.com/en-us/powershell/scripting/developer/installing-the-windows-powershell-sdk)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-sdk-ref Area - SDK .NET API
Projects
None yet
Development

No branches or pull requests

3 participants