我使用Visual Studio 2008并处理包含网站的Web项目.打开解决方案文件时,收到错误消息:"无法打开网站http://localhost/myWebsite.de.网站http://localhost/myWebsite.de不存在." 我可以在解决方案文件夹中看到该网站显示为"不可用".
可以将网站添加到解决方案中,但在重新启动Visual Studio之后,它又消失了.
有没有人以类似的方式遇到这个问题?
使用记事本打开现有的解决方案文件,复制实际项目目录路径,并仅根据以下选项更新解决方案文件的内容
Debug.AspNetCompiler.PhysicalPath = "update the path here"
Release.AspNetCompiler.PhysicalPath = "update the path here"
SlnRelativePath = "update the path here"
Run Code Online (Sandbox Code Playgroud)
保持其余配置不变
| 归档时间: |
|
| 查看次数: |
15786 次 |
| 最近记录: |