I find myself regularly forgetting to unblock zip files of various projects (when I’m not using NuGet) and then getting .NET errors around untrusted assemblies. To bulk unblock all files in a directory, simply
- Download the SysInternals “Streams” utility.
- Then open a command prompt in the directory you want to fix up, and use the “-d” parameter:
streams -d *.dll