The file "bin \ Debug \ WindowsFormsApplication2.exe" is being used by another process. Therefore, this process cannot access this file ., Bindebug

Source: Internet
Author: User

The file "bin \ Debug \ WindowsFormsApplication2.exe" is being used by another process. Therefore, this process cannot access this file ., Bindebug

Http://zhidao.baidu.com/question/221394579.html? California % 22% B8 % B4 % D6 % C6 % B5 % BD % 22bin % 5 CDebug % 5C % B5 % E7 % D3 % B0 % BC % C7
Obviously, this is because you have run this program in DEBUG mode!
Then you simply click X to turn it off. This shows a problem,
A problem occurs in the exit code of your program. As a result, after you click X to close the interface, the process of the program is not terminated!
Therefore, when you plan to generate the EXE file for the second time, the file cannot be written because the process that starts to generate the EXE file is running!
It is suggested that you add the program code to the release process. Of course, you need to find the windowsformsapplication2.exe process and stop it before you can regenerate the program.
Http://zhidao.baidu.com/link? Url = Response
In this case, the windowsformsapplication9.exe you generated is still running and is not completely closed. The possible causes include:
1. Use this. Hide (); To Hide the form, rather than actually close the form.
2. The form is not closed.
Solution:
1. Use Application. Exit (); to close all processes of the program.
2.open the task manager and manually execute windowsformsapplication9.exe.
3. restart the computer (tried, valid)


 

Related Article

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.