nccgroup / azucar

Security auditing tool for Azure environments
GNU Affero General Public License v3.0
563 stars 112 forks source link

Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly #10

Closed ahmedsherif closed 5 years ago

ahmedsherif commented 5 years ago

Hi,

I came up with the following error:

By Calling: .\azucar.ps1

Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\azucar-master\Libs\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll' or one of its dependencies. Operation is not supported.

raul5660 commented 5 years ago

try this? https://stackoverflow.com/questions/34400546/could-not-load-file-or-assembly-operation-is-not-supported-exception-from-hres/34400547

ismailakinkunmi commented 4 years ago

uninstall entityframework restart the project and reinstall entityframework.

ghardy2k commented 4 years ago

thanks, ismail.....the trick was restarting after removing. you rock!

NgocSon288 commented 3 years ago

ismailakinkunmi thanks!