How to specify Virtual Directory name in deploy project

A

Alex Munk

I am using C# in VS2005.
In my solution I have a web project and a setup project.

When I run the setup wizard to install the web application on the server the
virtual directory name that comes up is the name of the setup project. How do
I change this so that the name defaults to the web project name instead?
Thanks,
Alex
 
S

srikant

I am using C# in VS2005.
In my solution I have a web project and a setup project.

When I run the setup wizard to install the web application on the server the
virtual directory name that comes up is the name of the setup project. Howdo
I change this so that the name defaults to the web project name instead?
Thanks,
Alex

you have to override Installer Class and and override the install
method you can set the Virtual Directory. After you build the
application you have to reference the dll in WebDeplyment project of
Install section.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top