I am using Visual Studio 2013 and I am facing a weird issue from last few days. Whenever I try to set a break point, I get an error
\"The Following breakpoint can
In my case, this was caused by a faulty merge of the .csproj
contents, to be specific a ItemGroup
contained a node which belonged in its own ItemGroup
.
I used a MVC project and couldn't set any Breakpoints in the Razor-View.
All my projects were build in Debug-mode and a clean+rebuild didn't help either.
I had to remove this entry:
<configuration>
<appSettings>
<add key="Microsoft.VisualStudio.Enterprise.AspNetHelper.VsInstrLocation" value="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\vsinstr.exe"/>
</appSettings>
</configuration>
in the Web.config
and breakpoints worked again.
I found a related thread: Visual Studio 2013/2015 profiler adds Not publishable lines in web.config? Seems to be a Bug