aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

Debugger shows cshtml file from the wrong project #468

Open Tratcher opened 8 years ago

Tratcher commented 8 years ago

Setup: Two web applications in the same solution with no references to eachother. Place a breakpoint in _ViewStart.cshtml in App1 and App2.

Repro: Compile and debug App1. Verify the breakpoints are hit. Stop debugging. Compile and debug App2. The debugger with show _ViewStart.cshtml from App1.

I've also observed this with Index.cshtml, but it stopped reproducing when I change the ViewData["Title"] value to be unique in each project.

@NTaylorMullen

NTaylorMullen commented 8 years ago

/cc @ToddGrun

sayedihashimi commented 8 years ago

TFS: 224925 I've added this to our internal TFS, we will reply back here soon.

sayedihashimi commented 7 years ago

Sorry for the delay here. There has been a lot of changes that have happened since you filled this issue. Can you try again with VS2017 RC and let us know if this issue persists? I'll close this now, but please reopen if it's still an issue.

Tratcher commented 7 years ago

The issue still reproduces in VS 2017 RC

sayedihashimi commented 7 years ago

@Tratcher thanks, I was able to repro. We will investigate.