简体   繁体   中英

Virtual Directory and Web Services

有人可以阐明IIS中的虚拟目录吗?为什么当我尝试加载Web服务项目时,Visual Studio提示我创建虚拟目录。

Its probably because in the solution, the project for the web site was added as "Add Existing Web Site" from "Local IIS" or from "Remote Site". The solution is expecting an actual virtual directory to exist. You could remove the project and re-add it, but from the "File System". I think that'll sort you out. 在此处输入图片说明

You should not use the Web Site "project" type with web services. Instead, use File->New Project and create a Web Application Project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM