Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, August 24, 2015 7:16 PM
I have a solution with several projects, including a main startup project (WinForms) and another WinForms project. When I do a build, it fails to overwrite files in the bin folders for both projects. I've tried clean and rebuild, but the only solution is to manually delete the contents of the bin folders.
Is there a setting that determines this behavior?
All replies (4)
Wednesday, August 26, 2015 6:54 AM âś…Answered | 1 vote
Hi Barry Gilbert,
Not clean and rebuild the whole solution, if you clean and rebuild the projects one by one, whether it still has this issue?
If it still has this issue:
(1) To make sure that whether it has the permission requirements for the two projects, please run your VS as the admin, test it again.
(2) Create a blank solution, and then add the projects' files to the new blank solution, clean and rebuild the whole solution, test it again.
(3) Open the Build menu->Configuration Managers, and make sure the build option was enabled for two projects.
Do you view the Bin\debug or Bin\Release folder? Open the project property, please make sure that it is the correct output path. Please also make sure two projects are all in debug mode(not release mode).
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, August 26, 2015 8:15 PM
Hi,
Could it be that your application is still running somehwere?
Rgds MM
PS: Please mark as answer if helpful. Thanks!
Thursday, August 27, 2015 5:27 PM
Jack,
Thanks very much for your suggestions. I created a new solution and added the projects. It seems to have fixed the issue.
FYI, I also tried the other suggestions, but they didn't solve it.
Thanks again.
Thursday, August 27, 2015 7:09 PM
Actually, it turns out that the answer had to do with the build checkboxes in the solution property page.