locked
Could not load file or assembly 'Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified RRS feed

  • Question

  • User-1651604128 posted

    I got this error in my mvc web app when I run it trying to Open a RunSpace of a created Runspacefactory.CreateRunspace(connectionInfo) (I need to use PowerShell)

    I am using Visual Studio 2017,

    I did some searches, it seems it is not related to the RunSpace I created, it is related the reference dll of Infrastructure file,

    I checked my reference, the Microsoft.Web.Infrastructure is included in Reference folder of my project, and its property shows: Copy Local is True,

    Can anybody help me what is wrong with this error?

    Thanks

    Wednesday, October 9, 2019 6:50 PM

Answers

All replies