For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > July 2004 > VS 2003 / Web Project - assigning a directory file path









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author VS 2003 / Web Project - assigning a directory file path
Shikari Shambu

2004-07-19, 8:58 pm

Hi,
I am trying to setup a direcotry file path for a web project. However, I
am not able to do so either in IISAdmin or VS.NET.

When I request VS.NET t ocreate a ASP.NET WEb application or Empty WEb
project with URL http://localhost/<myapp> it puts it under
inetpub/wwwroot/myapp and in IISAdmin the directory structure is /<myapp>
(greyed out).

Is there a way to get VS.NET to create it in D:\LocalApps\<myapp> or a
similar directory. Alternately, hopw do I change the file location after the
creation.

TIA


Phill. W

2004-07-20, 8:59 am

"Shikari Shambu" <shikarishambu70@hotmail.com> wrote in message
news:uimauAdbEHA.1652@TK2MSFTNGP09.phx.gbl...
> When I request VS.NET t ocreate a ASP.NET WEb application or
> Empty WEb project with URL http://localhost/<myapp> it puts it
> under inetpub/wwwroot/myapp and in IISAdmin the directory structure
> is /<myapp> (greyed out).


The best method I've found is to move the Home Directory for IIS
overall to where I want it to be, then all my projects get created in
subdirectories below this.

> how do I change the file location after the creation.


You don't. 'Studio insists on using http to talk to the files in your web
solutions so "http:/localhost/..." is about the /only/ way you can get at
them.

HTH,
Phill W.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com