.NET Framework Bookmark and Share   
 index > MSBuild > trouble referencing System.Management.Automation
 

trouble referencing System.Management.Automation

I keep getting errors when building an app in beta1. I tried adding a reference using the solution explorer, but it didn't show System.Management.Automation. I found an article that mentioned I could just use <Reference Include="System.Management.Automation" /> in my project file. I tried that and it didn't work. So I copied the DLL into a new folder in the project and then used the solution explorer to add it as a reference. Still no luck. I installed the latest Windows SDK ( I'm using windows 7 by the way) and then referenced the DLL from that install and still no luck building. Does anyone have any idea how to get this to compile?
Thanks.
saxey
Hello,

Windows Power Shell SDK is part of Windows SDK.
Is your Windows SDK specific for Windows 7? Released: Windows SDK for Windows 7 and .NET Framework 3.5 SP1

Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Wesley Yao
Hello,

Windows Power Shell SDK is part of Windows SDK.
Is your Windows SDK specific for Windows 7? Released: Windows SDK for Windows 7 and .NET Framework 3.5 SP1

Sincerely,
Wesley
Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Wesley Yao

You can use google to search for other answers

Custom Search

More Threads

• Added dynamic items or changing values for a Target
• MSBuild and dependency issues
• Task Output with Condition
• Given an ItemGroup need to call task once per item with params
• build a project with /define option
• Can we build .java projects with MSBuild
• Exception when running VCBuild.exe
• error MSB4018: The "ResolveNativeReference" task failed unexpectedly.
• Referenced DLLs missing with msbuild.exe, but not so with devenv.exe
• set CustomBeforeMicrosoftCommonTargets=$(MyEnvVar)morepath/my.targets