Is there a way to add a virtual directory to Visual Studio Development Server?

前端 未结 4 2132
忘了有多久
忘了有多久 2021-01-07 19:03

I\'m using the Visual Studio Development Server, with a specific port. Is there a way to add a virtual directory to it?

EDIT:

Sorry, I wasn\'t very clear.

4条回答
  •  轮回少年
    2021-01-07 19:27

    Yes, you can provide a physical path by launching it through command line

    C:\Program Files (x86)\Common Files\microsoft shared\DevServer\9.0\Webdev.WebServer.exe /port:9081 /path:C:\temp\vdir
    

    just do /? for a list of command line options

提交回复
热议问题