Encounter a wonderful problem, could not load the assembly file XXX downloaded from the Web

Source: Internet
Author: User

In my this compile good drops, sent to the customer beyond actually passed, reported could not load the assembly File:///xxx.dll,

After reviewing some documents, I found that it was a security issue for the file, because after I packed the files,

Put on the net disk, let the other side download, after the other download, vs is considered to be downloaded from the Internet files, unsafe,

Solution: Close vs, right-click on the problematic DLL, unblock the file,

Open vs again, compile on OK, and a little trick: if you're a packaged file,

Then all the DLLs after decompression, to Unblock,oh NO, this is the rhythm of the dead, Ah,

But, you can in the compression package right-click, unblock, then the decompression of the project will not have a problem,

specifically see: https://msdn.microsoft.com/en-us/library/ee890038 (vs.100). aspx

You can also see: http://stackoverflow.com/questions/3072359/unblocking-a-dll-on-a-company-machine-how

There are other solutions on StackOverflow, but the core issue is security, UNBLOCK

Encounter a wonderful problem, could not load the assembly file XXX downloaded from the Web

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.