"你试图打开的项目是Web项目,请指定URL路径"问题及解决方法
2006-01-18 16:28
591 查看
The project you are trying to open is a Web project. You need to open it by specifying its URL path.
I got this by pulling down the source for my project from a previous labelled version in VSS. We needed to implement a QFE to version 3.2 while we were working on 3.3, so I deleted all the source files on my drive and pulled down the 3.2 code base. The problem turned out to be a missing .webinfo file, which isn't stored in VSS (and shouldn't be, so don't do it!). I could have either used a copy of the file or wrote another one, but either way, the solution file pointed to the project (.csproj) file, so why would VS complain? WTF? Anyway, if you need to write a new one, assuming your project is named, WidgetManagement.csproj, the contents would look something like this:
<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/WidgetManagement/WidgetManagement.UI.csproj" />
</VisualStudioUNCWeb>
Stupid, flipping Web projects!
I got this by pulling down the source for my project from a previous labelled version in VSS. We needed to implement a QFE to version 3.2 while we were working on 3.3, so I deleted all the source files on my drive and pulled down the 3.2 code base. The problem turned out to be a missing .webinfo file, which isn't stored in VSS (and shouldn't be, so don't do it!). I could have either used a copy of the file or wrote another one, but either way, the solution file pointed to the project (.csproj) file, so why would VS complain? WTF? Anyway, if you need to write a new one, assuming your project is named, WidgetManagement.csproj, the contents would look something like this:
<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/WidgetManagement/WidgetManagement.UI.csproj" />
</VisualStudioUNCWeb>
Stupid, flipping Web projects!
相关文章推荐
- vs.net2003的一个老问题“你试图打开的项目是Web项目,请指定URL路径”解决办法
- 你试图打开的项目是Web项目,请指定URL路径
- 您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开它
- 您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开它!
- 你试图打开的项目是Web项目,请指定URL路径
- VS2003:--------关于"您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开
- vs.net2003打开Web项目提示物理路径与url路径无法验证问题的解决
- visual studio 2003中提示您试图打开的项目是Web项目,需要指定URL路径来打开
- “你试图访问的是Web项目,需要指定URL来访问”解决方法。
- vs2003.net报“无法打开Web项目文件路径与URL不符。这两者需要映射到相同的服务器”问题
- 尚未配置为Web项目News指定的本地IIS URL HTTP://localhost:…… .要打开此项目,需要配置虚拟目录……三种解决方案,完美解决
- vue-cli webpack模板项目搭建及打包时路径问题的解决方法
- 尚未配置为Web项目.指定的本地IIS URL http://localhsst/..要打开项目,需要配置虚拟目录 。是否立即创建虚拟目录 解决
- web项目中路径的获取和遇到问题的解决方法
- MyEclipse中web项目改名后部署路径不变的解决方法
- IIS未列出与打开的Url匹配的网站。问题解决方法
- “无任何网络提供程序接受指定的网络路径”问题的几个解决方法
- 解决Selenium Webdriver执行测试时,每个测试方法都打开一个浏览器窗口的问题
- VS.net 2003 打开Web项目失败的解决方法
- 尚未配置为Web项目.指定的本地IIS URL http://localhsst/..要打开项目,需要配置虚拟目录 。是否立即创建虚拟目录