|
-
Mar 15th, 2016, 02:14 PM
#1
Thread Starter
Fanatic Member
-
Mar 15th, 2016, 03:42 PM
#2
Thread Starter
Fanatic Member
Re: Compiler cannot copy the .exe file from obj\x86\Debug folder to \bin folder
I have tried 2 approaches to fix this issue. First, I tried to repair my VS2010 installation. After completing the repair and restarting my computer the problem copying the .exe file to the bin\Debug folder still exists. Next, I uninstalled VS2010 and deleted the "D:\Program Files (x86)\Microsoft Visual Studio 10.0" folder. Then I reinstalled VS2010 via the original CD-ROM media (from Microsoft). After restarting my computer the problem copying the .exe file to the bin\Debug folder is gone.
So I'm going to mark this thread "Resolved".
-
Mar 15th, 2016, 03:51 PM
#3
Re: [RESOLVED] Compiler cannot copy the .exe file from obj\x86\Debug folder to \bin f
It'll happen again... when it does, try this instead:
1) right-click the solution in the solution explorer, select Clean Solution...
now rebuild.
Done.
What happens sometimes, no one seems to know when or why, the file becomes locked, and when it does, it's usually a simple matter of deleting the bin & obj folders, which is what hte clean process does. If that doesn't work, or it too errors out, simply close VB, delete the folders by hand. Either way, that should solve the issue w/o re-installing VS.
-tg
-
Mar 15th, 2016, 05:08 PM
#4
Thread Starter
Fanatic Member
Re: [RESOLVED] Compiler cannot copy the .exe file from obj\x86\Debug folder to \bin f
You're right, the error is back .
right-click the solution in the solution explorer, select Clean Solution...
Can't see the "solution" in the Solution Explorer...

My project is named "Vehicle Tracker" and that is the first row of the Solution Explorer. When I right-click it, there is a "Clean" item in the pop-up context menu. Clicking this item does not delete the bin and obj folders.
So I'm assuming that the "solution" is the project name, if not then what am I missing?
Last edited by Mark@SF; Mar 15th, 2016 at 05:17 PM.
-
Mar 16th, 2016, 06:54 AM
#5
Re: [RESOLVED] Compiler cannot copy the .exe file from obj\x86\Debug folder to \bin f
That's because it's a single project solution. In this case just right click on the project and clean that.
The best argument against democracy is a five minute conversation with the average voter - Winston Churchill
Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|