login about faq

I am using this approach for dynamic loading:

It failed on the line var assembly = Assembly.LoadFrom(path);

with FileLoadException : Could not load file or assembly "file:///C:UsersabcDocumentsVisual Studio 2010ProjectsproblembinDebugChilkatDotNet4-32.dll" or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

asked Apr 04 '16 at 09:09

chilkat's gravatar image

chilkat ♦♦

I found the problem with loading assembly.

The problem is that I downloaded zip and extracted it with Windows Explorer.

It marked DLL as network downloaded and don't want to load it with AssemblyLoad
I extracted zip archive with 7-zip archiver and it works fine.


answered Apr 04 '16 at 09:10

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 04 '16 at 09:09

Seen: 2,589 times

Last updated: Apr 04 '16 at 09:10

powered by OSQA