New ASP project

  • Thread starter Thread starter Mark Goldin
  • Start date Start date
M

Mark Goldin

How do I create a new project in any location on my hard drive?
I dont like to have all my projects on C drive.

Thanks
 
Mark Goldin said:
How do I create a new project in any location on my hard drive?
I dont like to have all my projects on C drive.

You can put them anywhere you want, but under VS you need to put them under
an IIS dir. Since IIS is almost always installed on C (Which is the most
common system drive), thats where it puts them by default.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 
when vs.net creates a web project. it creates a virtual directory under IIS
root. (default C:\Inetpub\wwwroot)
if you dont want C: then make sure you IIS is not in C:
one way would be to do a clean install and chose say D: as your installation
partition. in that case you will have C to yourself and can let VS to its
thing in D:
 
To make things simple:
There is no way to create a new project anywhere else but C.
Is that a true statement?
 
Hi Mark,
By default VS.NET creates the project under c:\inetpub\wwwroot(The
drive letter is based on where IIS is installed).
If it is a web application a virual directory is created by VS.NET under
this directory with the project name given by you.

If you want to create that project somewhere else follow this procedure :

Create a directory first where you want to create the
project.For eg: call it MyProject under D:
* Then got to IIS and create a virtual directory with the name you want to
give the project.Eg : salesorder and choose the directory as
D:\MyProject.

* Then go to VS.NET and create a new web application,under the location
part give eg: http://localhost/salesorder (the name of the virtual
directory you created) and the project will be created under D:\MyProject.

Hope this answer your question.

Regards,
Marshal Antony
http://dotnetmarshal.com
 
Back
Top