Solved

Error: The type or namespace name 'Management' does not exist in the namespace 'System'  (are you missing an assembly reference?) - when I put 'using System.Management.Automation;'

Posted on 2009-04-03
2
2,456 Views
Last Modified: 2013-12-17
Please let me know why I get this error message,
Error: The type or namespace name 'Management' does not exist in the namespace 'System'  (are you missing an assembly reference?) - when I put 'using System.Management.Automation;'
0
Comment
Question by:kyekim
2 Comments
 
LVL 6

Accepted Solution

by:
SaedSalman earned 250 total points
ID: 24064730
are you missing an assembly reference?)
Yes, you did, you should add the reference.

To do so,
in the solution explorer windows, right click on "References" and choose "add reference"
then, move to "Browse" tap
go to this path: c:\Windows\assembly
choose the package called "System.Management.Automation" and press enter.


Regards,
Saed Salman
0
 

Author Closing Comment

by:kyekim
ID: 31566429
Thank you for the answer.  
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now