Why can't I debug my asp.net web project anymore?

Something has changed in my ASP.NET web project ... I used to be able to debug. Now my control points are ignored. I checked my web.config and it says:

<compilation defaultLanguage="c#" debug="true" targetFramework="4.0">

So everything seems to be in order. What else could ruin my debugging environment?

EDIT: I should also note that when starting a console application, breakpoints work fine. It is only when I run the web application that breakpoints just don't happen.

This only happens when debugging using IIS. If I use VS Dev Server, my breakpoints work!

+3
source share
5 answers

/ .NET 4.0, , , "Managed (v2.0, v1.1, v1.0)", "Managed" (v4.0) ', .

"a > " , , . "w3wp.exe", "" " " " (v4.0)".

, .

enter image description here

+3

:

  • .

  • ASP.NET reset IIS (iisreset/restart).

  • , "".

  • , .NET Framework.
+2

Visual Studio Debug/Release Release, . , web.config .

0

, . , , , - Dot Net Nuke. web.config , . .net IIS " ", , web.config.

<!-- set debugmode to false for running application -->
    <***compilation debug="true"*** strict="false">
      <buildProviders>
        <remove extension=".resx" />
        <remove extension=".resources" />
      </buildProviders>
      <assemblies>

, .:) , , - , , .

, ... SQL , ASP.Net ... , .

0

Source: https://habr.com/ru/post/1790960/


All Articles