Hi @Sylvain ,
Welcome to Microsoft Q&A!
If you create a new project and copy the code into new project, does it repro?
Please navigate to Debug > Delete All Breakpoints.
Then, close all instances of Visual Studio, delete the .vs folder in your project folder and rebuild your project.
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.