Failed to load file or assembly ...

Source: Internet
Author: User

TFS Code every time you check out an error: "

Failed to load file or assembly "Newtonsoft.json" or one of its dependencies. The found assembly manifest definition does not match the assembly reference. (Exception from hresult:0x80131040);

Workaround: The program code generation target platform 64-bit WIN7 solution's build target platform is set to x86; the build target platform for 32-bit operating system solution is set to anycpu;

Another user's problem solving method:

I have encountered this problem two times, but the environment is different.

First time: Windows Server R2 64-bit;

Second time: Windows 7 64-bit;

Cause Analysis: The operating system is 64-bit, but the published program references some 32-bit DDL, so there is a compatibility issue.

Solution: iis--Application Pool-Advanced settings-enable 32-bit applications: true.

Http://www.jb51.net/article/31711.htm

Failed to load file or assembly ...

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.