title: Debugging from a View file
body: <p>Working on a C# MVC project, I can have multiple files open in Visual Studio. When I press F5 to start debugging, the debugging starts if the currently open file is:</p>
  
  <ul>
  <li>a controller (*.cs);</li>
  <li>a model (*.cs);</li>
  <li>a stylesheet (*.css);</li>
  <li>a config file (*.config);</li>
  <li>a partial view (*.cshtml)</li>
  </ul>
  
  <p>However, if the open file is a View (*.cshtml), the browser opens with the "Server Error - URL not found" page.</p>
  
  <p>Additional info: The solution has always been under source control with SVN but at some point, the repository location changed and from then on (I think), this strange error occurs. It didn't happen before, I could debug without thinking if a view file was open or not. The change wasn't performed by me and I lack details on it. I am not sure these things are related either.</p>
  
  <p>Anyone has come across a similar issue? How to solve it?</p>