Accessing the ASP.NET Web Configuration Tool in Visual Studio 2013

  1. Open the Command Prompt (not as administrator)
  2. Navigate to the folder where IIS Express is installed on your machine.
  3. In the command line spin up a IISExpress site with the following prompt: "iisexpress.exe /path: C:WindowsMicrosoft.NETFrameworkv4.0.30319ASP.NETWebAdminFiles /vpath:"/asp.netwebadminfiles" /port:[port] /clr: 4.0 /ntlm" using the following values for the [param]:
    1. [port] – any port you have free in IISExpress (I use 8082 in the example below)
  4. This should launch an IISExpress instance of the Configuration Manager Site
  5. Open your browser
  6. In the URL enter the following "http://localhost:8082/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=[appPath]&applicationUrl=/" substituting the [appPath] with the absolute path to the Visual Studio Project folder with the solution file in it.
原文地址:https://www.cnblogs.com/shawnwxm/p/4118384.html