GenesysStack.com

How-to Fix: A Downloaded Project Compile Error: Could not load file or assembly packages\ … or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

If you receive this error on a downloaded .NET project or solution…

Could not load file or assembly packages\ … or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Could not load file or assembly file:/// … \packages\ … .dll or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Cause: The \packages folder and/or files is blocked.

Fix: Backup and Delete the solution’s \packages\ folder, allowing NuGet to restore packages.

Leave your comment