I am working on an ASP.NET web site that for some reason does not use the Visual Studio "Cassini" mini-server but requires that IIS be installed and set up. It runs as "http://localhost".
I would like to change this, but can't find information as to how to change it. Is there a property somewhere? I looked in the Property Pages of the project, but it just shows two options for server : Default Server and Custom Server. Default Server is selected and Custom Server is grayed out.
I notice that my other web site projects, that DO use Cassini, also have Default Server checked, so that's not it.
It's a .NET 3.5 project that runs in Visual Studio 2010, so it's not a really old project. Also, it doesn't seem to have a project file.
I am just wondering if anyone knows how this feature is originally set/unset.
In Visual Studio, if you right click your project, and look at Properties, you should see a Web section. In here, you can select the option "Use Visual Studio Development Server".
Also note that in here you can choose to use IIS, or use a Custom Web Server.
Are you seeing these options? If not then it's likely you have a Web Site project and not a Web Application project.
It's also possible that your project is being built to a directory that maps onto a Virtual Directory in IIS. In this instance, Visual Studio will attempt to use IIS - see http://msdn.microsoft.com/en-us/library/ckk1e6z4.aspx