gpt4 book ai didi

visual-studio - Visual Studio 无法打开网站错误

转载 作者:行者123 更新时间:2023-12-01 07:31:42 25 4
gpt4 key购买 nike

我使用 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"

保留其余配置不变

关于visual-studio - Visual Studio 无法打开网站错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2666133/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com