title: Debug .NET Framework's source code only shows disassembly in Visual Studio 2010
body: <p>I'm trying to debug .NET Framework's source code using <a href="https://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Visual_Studio_2010" rel="nofollow noreferrer">Visual Studio 2010</a> Professional. I followed the steps described in <a href="https://web.archive.org/web/20130910224231/http://weblogs.asp.net:80/rajbk/archive/2010/04/21/setting-up-visual-studio-2010-to-step-into-microsoft-net-source-code.aspx" rel="nofollow noreferrer">Raj Kaimal</a>'s post, but I must be doing something wrong since the only code I'm getting to see is the disassembly code:</p>
  
  <p><a href="https://i.stack.imgur.com/KLj8u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KLj8u.jpg" alt="Alt text"></a><br>
  <sub>(source: <a href="http://jdecuyper.github.com/images/SO/vs2010DebugFramework.jpg" rel="nofollow noreferrer">github.com</a>)</sub>  </p>
  
  <p>As you can see in the image, the <em>Go to Source Code</em> and the <em>Load Symbols</em> options are disabled. Nevertheless, symbols are downloaded from Microsoft's server since I can see them inside the local cache directory.</p>
  
  <p>The code I'm debugging goes as follow:</p>
  
  <pre><code>var wr = WebRequest.Create("http://www.google.com");
  Console.WriteLine("Web request created");
  var req = wr.GetRequestStream();
  Console.Read();
  </code></pre>
  
  <p>When I hit <kbd>F11</kbd> to step into the first line of code, a window pops us looking for the "WebRequst.cs" file inside "f:\dd\ndp\fx\src\Net\System\Net\WebRequest.cs" which does not exists on my machine.</p>
  
  <p>What am I missing?</p>