VS2005 Enable ASP.NET Debugging in Class Library App

G

Guest

In VS2003 I had a class library project that I started via a URL and I had
ASP.NET debugging enabled to allow me to debug the web pages code behind in
my project. I have moved the app to VS2005 and I no longer have that option
(Enable ASP.NET debugging checkbox on the project properties Debug Tab). I
can still debug the app by attaching to the aspnet_wp.exe process. However,
is there another way to do it - has this option been moved elsewhere?
 
G

Guest

The compilation debug setting in the app's Web.Config is already set to
"true". This project is a class library started from a URL, not a web
project. The reason that it is a class library, rather than a web project is
rather involved and not particularly relevant, but basically comes down to
the way VS interacts with VSS for web projects, especially when you have
different, branched versions. Anyway back to the problem. In VS2003, one
used to have to check 'Enable ASP.NET debugging' on the Project properties,
before debugqing was effective, even when the code was compiled with debug
set to true. This setting ('Enable ASP.NET debugging' ) does not exist in
VS2005. I was hoping there was a subsitute. So it looks as though I will
have to attach to the aspnet_wp.exe process if I want to debug.
 
G

Guest

Thank you, but I already know how to debug a DLL Project, by starting from a
URL.
The method for VS2003 works but the same is not true for VS2005.
You can start the application, but it will not break at any breakpoints you
set in your code until you attach the debugger to the aspnet_wp process.
This was not required in VS2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top