Override application root URL

Last post 04-30-2008 9:35 AM by cscordo. 7 replies.

Sort Posts:

  • Override application root URL

    08-03-2006, 5:55 AM
    • Loading...
    • richbaker
    • Joined on 06-20-2002, 3:25 AM
    • Posts 27
    Could someboby please tell me what the Option "Override application Root URL" (under Use IIS Web Server) does in the Web Section of a Web Application Project? I cannot find any help for this item.

    Many thanks
    Richard.

  • Re: Override application root URL

    08-09-2006, 11:15 AM
    • Loading...
    • natalex
    • Joined on 08-09-2006, 2:59 PM
    • Posts 1
    I would also like to know the answer.


  • Re: Override application root URL

    08-13-2006, 9:01 PM
    • Loading...
    • adam11235
    • Joined on 05-23-2005, 12:09 AM
    • Posts 23

    I would also like to know the answer, it doesn't behave as I would expect it to.

    The 'Use IIS web server' option saves this information in the project file as opposed to the user file (csproj.user)  - This means we cannot have mulitple developers doing development on the same project using different IIS virtual directories without checking out the project... (And no we do not want to use the development server).

    I thought the override option may let each dev point to a different v-dir but I cannot see what effect this option makes.

    Thanks,

    Adam.
  • Re: Override application root URL

    02-14-2007, 5:46 PM
    • Loading...
    • Broken0007
    • Joined on 12-06-2006, 10:24 PM
    • Corvallis, OR
    • Posts 2

    Quoting from http://msdn2.microsoft.com/en-us/library/aa983445(VS.80).aspx:

    "Override application root URL

        Specifies an alternative path for the application root URL. Use this option if your Web application root is not the root of your project."

    Does this help anyone?  I still cannot figure it out myself.
    -Chris
  • Re: Override application root URL

    04-10-2007, 3:33 PM
    • Loading...
    • aivanoff
    • Joined on 02-28-2006, 5:08 PM
    • Posts 45
    WAP team? Are you listening?
    Alex
  • Re: Override application root URL

    09-17-2007, 12:28 PM
    • Loading...
    • thecryptic
    • Joined on 09-17-2007, 4:13 PM
    • Posts 1

    Hey Guys, this is quite a large bug - i'm actually working on large team asp.net project and this issue has just come up. Has anyone found a workaround or know if the WAP team is addressing this bug?

    FYI, It's not just the settings for 'override application root URL" which is not being saved to the correct location. (csproj.user), rather it's everything within the server group in the web tab of the web project's settings.

    Here is a subset of the settings not being saved to [Web Project Name].csproj.user, instead it's being saved to [Web Project name].csproj which in a multi team environment, user's settings are being changed on every check-in.

              <UseIIS>False</UseIIS>
              <AutoAssignPort>False</AutoAssignPort>
              <DevelopmentServerPort>8080</DevelopmentServerPort>
              <DevelopmentServerVPath>/</DevelopmentServerVPath>
              <IISUrl>http://localhost/</IISUrl>
              <NTLMAuthentication>False</NTLMAuthentication>

     Strangely, in seeing if there was a workaround, I moved the following settings into my csproj.user file (ya i know... never edit these files by hand), closed visual studio and re-opened the project. It seems that VS is able to read the settings, but the next time someone changes web project's settings, the same thing is re-inserted into the project file, resulting in no workaround love :(.  Guys, if anyone can find a work around that would be great.

     - Rob.

  • Re: Override application root URL

    01-29-2008, 12:43 PM

    I know this is a bit late and hopefully you have already resolved this issue, but if you open your project's properties and go to the "Web" tab, in the "Servers" section the first checkbox you see should read "Apply server settings to all users (store in project file)".  If this is checked, then the server settings (Cassini vs. IIS, etc.) will be stored in the *.csproj file.  If it is unchecked, then the settings will be stored in the *.csproj.user file instead.

     Hope this helps, despite being late.

    Sincerely,
        James Greene

  • Re: Override application root URL

    04-30-2008, 9:35 AM
    • Loading...
    • cscordo
    • Joined on 12-05-2006, 12:27 PM
    • Posts 18

     James:  This option doesn't exist where you've specified in VS2005.  Is there an alternative location where this might be? 

     

    We're having the same issue with multiple devs and differing local virtual directories.

Page 1 of 1 (8 items)