title: C#: Assembly DLL not visible to Visual Studio when Debugging using Attach Process
body: <p>I am working on a Plugin for Windows Media Center using Visual Studio 2010 Professional, C#, the Windows Media Center SDK 6.0 and NET Framework 2.0.</p>
  
  <p>I am able to create an installer for the app (using WiX Installer), which inserts the app into WMC just fine.</p>
  
  <p>However, I wish to debug the app by using the 'Attach The Process' feature in VS, showing my immediate changes by opening up the plugin within WMC (really cool feature). When I click Start Debugging, the app is opened. However, my changes are not present and I am shown the following error in VS:</p>
  
  <blockquote>
    <p>"The following module was built either with optimizations enabled or
    without debug information:</p>
    
    <p>C:\Windows\assembly\GAC_MSIL\UltraPlaylists\1.0.0.0__d56c5e467dd76093\MyProject.dll</p>
    
    <p>To debug this module, change its project buld configuration to Debug
    mode. To suppress this message, disable the 'Warn if no user code on
    launch' debugger option."</p>
  </blockquote>
  
  <p>One thing I noticed when following these instructions (<a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb189051.aspx" rel="nofollow">MSDN Guide</a>) is that on Step 6, I should "Locate the DLL that represents your application assembly, right-click it, and choose Symbol Settings."</p>
  
  <p>However, I can not see this application assembly in the list of DLLs. I believe this could be the reason I'm receiving the earlier message.</p>