Debugging a page thats in a virtual directory

Discussion in 'ASP .Net' started by Tom Pester, Oct 8, 2003.

  1. Tom Pester

    Tom Pester Guest

    This is the simplified structure of my website in IIS :

    c:\Website
    -------> Home (normal directory)
    -------> Engine (*virtual directory* but not an application!)


    I made the Engine (which contains code I use in many sites and thus is
    centralised) not an application because I use application variables within
    this directory.

    This is how I set it up in Visual Studio.net 2003 :

    Solution "Website"
    -------> Project "Website" (points to c:\website)
    -------> Project "Engine" (points to c:\Engine)

    I have to add the project "Engine" because VS doesnt add the virtual
    directory automaticaly.
    (I added it with "add existing project from the web")

    I set my start page to c:\website\default.aspx and started debuging.
    Once I get into a page thats located into the virtual directory where I set
    a breakpoint VS tells me that the source isnt available so I dont get to the
    breakpoint.

    Once I make the virtual directory an application the problem goes away but I
    dont want to do this.

    How can I get the full power of debuging without making the virtual
    directory an application?
    I think I am lacking some fundamental understaning about asp.net and
    processes. Can someone point me in the right direction please?
     
    Tom Pester, Oct 8, 2003
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jack Wright
    Replies:
    1
    Views:
    596
    sonikchopra
    Apr 19, 2005
  2. Steve Singer
    Replies:
    0
    Views:
    694
    Steve Singer
    Feb 15, 2005
  3. Dave
    Replies:
    1
    Views:
    10,287
    Steven Cheng[MSFT]
    Oct 24, 2005
  4. Replies:
    0
    Views:
    498
  5. U. George
    Replies:
    16
    Views:
    1,348
    Andrew Thompson
    Jan 7, 2006
  6. Jonathan N. Little
    Replies:
    13
    Views:
    6,002
    Jonathan N. Little
    Feb 6, 2005
  7. =?Utf-8?B?SmVmZiBCZWVt?=

    physical path to virtual path under virtual directory

    =?Utf-8?B?SmVmZiBCZWVt?=, Aug 1, 2007, in forum: ASP .Net
    Replies:
    4
    Views:
    1,254
    Eliyahu Goldin
    Aug 1, 2007
  8. rockdale

    include virtual in virtual directory?

    rockdale, Sep 3, 2008, in forum: ASP General
    Replies:
    3
    Views:
    627
    rockdale
    Sep 4, 2008
Loading...