CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Feb 2007
    Location
    Cat Square (near Charlotte)
    Posts
    16

    [resolved]referencing root directory of web site?

    Hi all...

    I'm having a problem developing a CSS-based menu structure. I prefer having many of my files in subdirectories below the root. For example, I have a subdirectory just off the root, called "Computer", and a file called stuff.aspx.

    When I used Dreamweaver, I could refer to this file as /Computer/stuff.aspx. However, when I do that with Visual Studio, it seems to take into consideration the name of the folder where I created my project as part of the web site!

    For example, I created my web site in a file called "Personal". When I get errors (like trying to use the ~ symbol for referencing the root directory), the error I get has "Personal" in the error message.

    Is this a Visual Studio thing? If I ran under IIS would that help? Of course, I guess I should try that, but it's so convenient just to run under the Visual Studio Development Server while testing.
    Last edited by ronmoles; December 30th, 2007 at 06:53 PM. Reason: resolved the issue
    C# - Visual Studio 2005
    Frameworks 2.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured