Skip to content

Problem with assembly loading initialization

Mike Schwörer edited this page May 20, 2020 · 3 revisions

Sometimes Windows marks the zip-file as untrusted because you downloaded it from the web, and after extraction all .exe and .dll files will be blocked.

Windows File Properties Dialog

To prevent this please right-click on the zip file, go to the file properties and click there "Unblock". Then extract the archive.

If you do the extraction first you have to do the unblocking on every single dll and exe file (see also here for a better explanation with images)

In such case the app can either not start at all, or start with errors that look like this:

System.IO.FileLoadException: 
Could not load file or assembly 'xxx' or one of its dependencies. 
Operation is not supported.