您试图打开的项目是WEB项目,需要通过指定其"Url"路径来打开它
解决方法
1.如果项目中包含文件项目名.csproj.webinfo,用记事打开它.修改
<VisualStudioUNCWeb>  
          <Web   URLPath   =   http://localhost/项目文件夹名/项目.csproj" />  
  </VisualStudioUNCWeb>
2.如果项目中没有包含文件项目.csproj.webinfo,新建记事本,再把以下代码拷进去.
<VisualStudioUNCWeb>  
          <Web   URLPath   =   http://localhost/项目文件夹名/项目.csproj" />  
  </VisualStudioUNCWeb>
修改后缀,为项目.csproj.webinfo即可.

相关文章:

  • 2022-02-25
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2022-01-10
  • 2021-05-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-26
  • 2021-06-18
  • 2021-07-25
  • 2021-12-29
  • 2022-12-23
  • 2021-06-14
  • 2021-04-21
相关资源
相似解决方案