TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Build fails with missing file: System.Management.Automation.dll

February 14th, 2014 · No Comments · Team Foundation Build (TF Build)

The Problem

  • The Build breaks with the following message:

Exception Message: Could not load file or assembly ‘System.Management.Automation, PublicKeyToken=31bf3856ad364e35′ or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)

The Solution

The Cause

  • You might be using the Community TFS Build Extensions. These include the InvokePowerShellCommand activity, which has a dependency on this .DLL

–Neno

Tags:

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

*