使用VS2010 自定义Web Developer Server
2011-02-16 09:30 小sa 阅读(650) 评论(0) 编辑 收藏 举报
使用VS2010 自定义Developer Server服务器调试,每次只需Ctrl+F5 Build without Debug.
1.Tool->External Tools
Develop Server
Command:C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE
Arguments:/port:9999 /path:$(ProjectDir)
2.自定义bat文件
cd \
echo off
cd C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\
WebDev.WebServer40.EXE /port:22222 /path:D:\WebSite
echo. & pause
1.Tool->External Tools
Develop Server
Command:C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE
Arguments:/port:9999 /path:$(ProjectDir)
2.自定义bat文件
cd \
echo off
cd C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\
WebDev.WebServer40.EXE /port:22222 /path:D:\WebSite
echo. & pause