C
C#14mo ago
assaf

❔ Please help

Severity Code Description Project File Line Suppression State Error Unable to copy file "obj\Release\program1.exe" to "bin\Release\program1.exe". The process cannot access the file 'bin\Release\program1.exe' because it is being used by another process. program1
42 Replies
Thinker
Thinker14mo ago
Your program is already running in another process
assaf
assaf14mo ago
I cant find the other program can U help me in voice ?
Thinker
Thinker14mo ago
no, sorry
assaf
assaf14mo ago
so can you please tell me how to find the other program
Thinker
Thinker14mo ago
It could be running in the background, check task manager is all the advice I can give
assaf
assaf14mo ago
What to look for there? what name
Buddy
Buddy14mo ago
program1? in details tab, the name is always the name of the executable itself
assaf
assaf14mo ago
still not working
Buddy
Buddy14mo ago
If you are on Windows 11, you can right-click the executable and find out what is using the file then it allows you to exit it
Buddy
Buddy14mo ago
Press - "What's using this file?"
assaf
assaf14mo ago
what? whre am I need right click? @Void is a myth
Buddy
Buddy14mo ago
The file itself in File explorer (Windows own)
assaf
assaf14mo ago
?
Buddy
Buddy14mo ago
huh? No. program1.exe
assaf
assaf14mo ago
ho
Buddy
Buddy14mo ago
find that executable and right-click it
assaf
assaf14mo ago
this is not exe file
assaf
assaf14mo ago
Buddy
Buddy14mo ago
Error Unable to copy file "obj\Release\program1.exe" to "bin\Release\program1.exe". The process cannot access the file 'bin\Release\program1.exe' because it is being used by another process. program1
assaf
assaf14mo ago
Buddy
Buddy14mo ago
right-click it and open the old menu, then the option should exist
Buddy
Buddy14mo ago
assaf
assaf14mo ago
there is no this option and i am using win11
Buddy
Buddy14mo ago
Press show more options then it will exist
assaf
assaf14mo ago
no
Buddy
Buddy14mo ago
Oh, actually nevermind. It's my bad It's included with PowerToys (a 3rd party application). go to details tab in task manager, and check for any process named 'program1.exe'
assaf
assaf14mo ago
this is this
Buddy
Buddy14mo ago
close all of them
assaf
assaf14mo ago
done
Buddy
Buddy14mo ago
Then recompile
assaf
assaf14mo ago
thank you!
Buddy
Buddy14mo ago
Anytime.
assaf
assaf14mo ago
just one thing
Jimmacle
Jimmacle14mo ago
program1 intensifies
assaf
assaf14mo ago
can I install PowerToys?
Buddy
Buddy14mo ago
Sure
assaf
assaf14mo ago
where?
Buddy
Buddy14mo ago
Microsoft PowerToys
Microsoft PowerToys is a set of utilities for customizing Windows. Utilities include ColorPicker, FancyZones, File Explorer Add-ons, Image Resizer, Keyboard Manager, PowerRename, PowerToys Run, a Shortcut Guide and more to come.
assaf
assaf14mo ago
thanks
Buddy
Buddy14mo ago
Always.
Mayor McCheese
Mayor McCheese14mo ago
Restart your pc
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.