Renaming IIS wwwroot directories

  • Thread starter Thread starter Jason B
  • Start date Start date
J

Jason B

Hello, I have been trying to figure out how to rename my IIS directories and
still have the project be able to run through VS. I have renamed the
directories listed in the csproj.webinfo file and this allowed me to at
least load the project into Visual Studio. However, if I try to run the
asp.net project through VS I get a lenghty error to the tune of: "Error
while trying to run proejct: Unable to start debugging on the web server.
The project is not configured to be debugged." There is more after that, but
that is the header of the message.

I notice that if I rename the directory before I run a new project, I can
workaround any issues and everything run as normal. However, if I rename the
project folder after I've run the project through VS I get the error. I
tried renaming it through the IIS adminstrative tool, but that didn't make a
difference.

The focus of the application has shifted a bit, so a rename of the URL is
desired at this point.

Anyone able to finish configuring a project to run through VS after renaming
the IIS directory the project resides in?

Much thanks,
Jason
 
Back
Top