Click here to Skip to main content
15,921,646 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am developing vs 2010 Winform application. When I build the application very first time I it built successfully. But, after all the time whenever I am going to build the application it showing me the error

I google this error since last few days but not getting any solution for this. Even I try uninstalling VS2010 and Re-Installing VS2010.. but problme still remain same. Even I also try another copy of my same project which was backup 2 months before; I wonder it has also same problem

I check my solution folder ... It showing .exe.locked ??? why it is

Then finally I also checked for TaskMnager if any file open with my solution Name.. but there are nothing anything.

Help me from this error
Posted
Comments
Richard MacCutchan 3-Aug-15 9:24am    
What is the exact error message you receive, and where does it occur?

1 solution

This is a known - and very annoying! - problem with Visual Studio, where running the project with a designer open intermittently locks the output file.

This StackOverflow question[^] from 2010 references a (now deleted) blog post from 2006 regarding this issue.

There are various suggestions in that thread to work around the problem using the project's build events. I have yet to see an official "fix" for the problem, although it doesn't seem to happen as much in recent version of VS.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900