C#: Assembly DLL not visible to Visual Studio when Debugging using Attach Process

841 Views Asked by At

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.

I am able to create an installer for the app (using WiX Installer), which inserts the app into WMC just fine.

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:

"The following module was built either with optimizations enabled or without debug information:

C:\Windows\assembly\GAC_MSIL\UltraPlaylists\1.0.0.0__d56c5e467dd76093\MyProject.dll

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."

One thing I noticed when following these instructions (MSDN Guide) is that on Step 6, I should "Locate the DLL that represents your application assembly, right-click it, and choose Symbol Settings."

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.

0

There are 0 best solutions below