Hello @Chris Hurtig ,
Please try to clean some debugging related cache files first. Remove following, manually:
- Close VS, remove
bin
,obj
and the hidden.vs
folder in your project folder. Restart VS, rebuild your project and then run/debug it. -
C:\Users\username\AppData\Local\Microsoft\VisualStudio\17.0_xxxxxxxx\ComponentModelCache
folder(remove/rename the ComponentModelCache folder, restart VS).
If the issue persists, consider repairing VS and resetting VS settings.
About repairing VS: VS Installer > More > Repair
About resetting VS settings: close VS and run devenv /ResetSettings
in Developer Command Prompt for VS 2022
.
I think it is related to windows 24H2, but can’t be sure.
I test locally, but till now, I fail to reproduce this issue.
Feel free to let us know the results.
Sincerely,
Tianyu
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.