0

Visual Studio is beginning Debug with code errors on the website being debugged. I threw some gibberish code into a page inside of the site. It gets underlined in red as I'd expect. I then hit "debug" expecting to see "Build errors, do you want to use the last working version?" and it just starts debugging. So I stop debugging, and while the gibberish code is still there, it's no longer underlined in red nor appearing on the Error List tab.

The project is just a Website using ASPX pages, C# code-behind, and the gibberish code was put on the C# code-behind page.

I've followed the directions here: Debugging runs even with compiler's errors in Visual Studio

As well as here: How to enable/disable compile errors warning in Visual Studio

And neither has helped address this issue.

I also reset my settings to default C# settings as recommended by this link: Visual Studio Editor does not underline errors anymore

Yet the issue persists.

These are my build settings pages:

Build Properties Page: Build Properties Page

Tools/Options/Build and Run: Tools > Options > Build and Run

It seems I've done everything I should be doing to make this work correctly, am I missing a step?

RockiesMagicNumber
  • 462
  • 2
  • 10
  • 20

0 Answers0