Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I would like to know how to change the default behaviour of VS when creating a new ASP.NET application. When creating such a project, VS creates a virtual directory in IIS that points to some physical directory under 'inetpub\wwwroot'. Is it possible to let visual studio create a virtual directory in IIS that points to some folder under MyDocuments or any other directory where I would like the project to be created?
qrt
Posted
So you make a physical directory where you want, then make manually a virtual directory pointing to that directory and then start a new ASP.NET project with the name of the virtual directory?
qrt
Posted
So you make a physical directory where you want' date=' then make manually a virtual directory pointing to that directory and then start a new ASP.NET project with the name of the virtual directory?[/quote']

Exactly. Because in VS.NET when you create a new ASP.NET project, the location of the project is "http://localhost/NewProjectName", it is a URL, not physical path. So the above method can let you set your ASP.NET in other location.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...