Hi @Vijay Bhoski ,
Welcome to Microsoft Q&A!
The error often occurs when a file is locked by another process or application.
Please try the following:
- Ensure the executable is not running. You can check it in the task manager and disable it. Or restart the computer.
- Ensure that you have permission to write to the bin\debug folder.
- Clean and rebuild the solution.
- You can try to manually copy the file into “bin\Debug”.
Sincerely,
Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.