Where should I refer to Microsoft.ManagementConsole.dll?
I am trying to follow the instructions located in "How to create a Hello World snap-in" using Visual Studio 2010 and that tells me I need to refer to Micorosft.MagamentConsole.dll which can be found in the MMC 3.0 SDK which in turn is part of Windows SDK.
My problem is that I already have the Windows SDK installed (specifically the Microsoft Windows SDK for Windows 7, versions 7.0 and 7.1 (I'm not sure what the difference is)), however, I cannot find the required Microsoft.ManagementConsole.dll in anywhere:
- It is not listed in the .Net tab of the Add Reference ... dialog in Visual Studio (even if I change the target project structure to .Net v2.0).
- It is not located in any of the Microsoft SDK \ Windows folders under the Program Files or Program Files (x86) directories
- Its also not in the Visual Studio 2010 installation directory
- And its not in c: \ Windows \ System32 either (as one of the links I found on the internet suggested it might be)
Where should I / should I reference this assembly?
source to share
This worked for me
project -> Add Reference -> Browse -> insert this value C: \ Windows \ assembly \ GAC_MSIL \ microsoft.managementconsole \ 3.0.0.03131bf3856ad364e35 \ microsoft.managementconsole.dll
Notes:
- You cannot navigate to the above location using Windows Explorer.
- However, you can navigate to the above path on the command line
source to share