您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开它!

您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开它
解决方法
1.如果项目中包含文件项目名.csproj.webinfo,用记事打开它.修改
<VisualStudioUNCWeb>  
          <Web   URLPath   =   http://localhost/项目文件夹名/项目.csproj" />  
  </VisualStudioUNCWeb>
2.如果项目中没有包含文件项目.csproj.webinfo,新建记事本,再把以下代码拷进去.
<VisualStudioUNCWeb>  
          <Web   URLPath   =   http://localhost/项目文件夹名/项目.csproj" />  
  </VisualStudioUNCWeb>
修改后缀,为项目.csproj.webinfo即可.
posted @ 2008-03-14 12:58  赖文华.NET  阅读(1363)  评论(0编辑  收藏  举报