PowerShell runtime exception - “could not load file or assembly”

后端 未结 5 1589
既然无缘
既然无缘 2021-01-11 11:27

This seems to be a common problem in PowerShell and Visual Studio, yet cases and solutions seem to vary a lot. Though seeing several similar questions, I didn\'t find a work

5条回答
  •  心在旅途
    2021-01-11 11:51

    The following worked for me (from Stack Overflow question Add-Type load assembly from network UNC share error 0x80131515).

    In files:

    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe.config

    
    
       
          
       
    
    

提交回复
热议问题