A program that is being compiled that is suddenly interrupted, such as an exception caused by a power outage

Source: Internet
Author: User

Problem description, VS2012 in the run debugging when the crash, helpless under the forced restart, and then open vs always reported the following error: Finally found on the Internet: The program being compiled, suddenly interrupted, such as a power outage, the workaround is: Delete folder c:/windows/microsoft.net/framework/v4.0.30319/temporary ASP. FilesThe following is an online find of the original data exception from hresult:0x80070057 (E_INVALIDARG) failed to load the assembly .... Several times to delete the reference and then re-reference the assembly or an error in the collapse .... Online search really has a solution:

The workaround is to delete the C:/windows/microsoft.net/framework/v2.0.50727/temporary ASP. Net Files folder.

Please note: The workaround described above is only used with the. NET 2.0 compiler.

If you are developing in the VS2010. NET 4.0 environment, delete the c:/windows/microsoft.net/framework/v4.0.30319/temporary asp Files folder.

====================================================================

Cause analysis as above:

1. The program being compiled, suddenly interrupted, such as a power outage caused.

2. Running programs, connecting to the database (not referring to the program accessing the database, but the tools in visual Studio-connection data preparation generated code, and so on) can also cause the problem above

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP. NET Files

This folder is a temporary folder run by the VS editor. It is possible to leave a file that is not finished compiling the current debug project when it suddenly crashes | without considering the situation.

A program that is being compiled that is suddenly interrupted, such as an exception caused by a power outage

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.