Hello Thomas,
I suggest you try to stop(disable) your antivirus software temporarily and kindly check if this issue is caused by antivirus software.
Besides, please also try following steps to troubleshoot.
- Close all Visual Studio(VS) instances, go to your solution(project) folder, and rename(or delete) the hidden .vs, bin and obj folders, then launch Visual Studio and build your project again.
- Close all VS instances, open “Developer Command Prompt for VS XXXX”, type
devenv /ResetSettings
to reset VS settings. - Please close all Visual Studio instances and try to rename (or delete) every subfolders named
ComponentModelCache
under this directoryC:\Users\[user name]\AppData\Local\Microsoft\VisualStudio\XX.0_XXXXXX
. Build your solution again. - Not sure which version of VS do you use, you can try to repair VS and update VS to the latest version.
- Please try to create a new solution in VS and then copy(migrate, add) the contents and resources from old solution to new solution. After that build again, then check if “start without debugging” works well.
- If possible, please try to use the same version of VS on another machine and build your solution(projects), then check if “start without debugging” works well.
If this issue persists, could you share a simple reproduced sample with me, and upload it to OneDrive? I will then go to test it on my side.
Sincerely,
Tianyu