用记事本或者其他什么文本编辑器,打开项目的.csproj文件,定位到<WebProjectProperties>,把关于IIS的配置<DevelopmentServerPort>、<DevelopmentServerVPath>、<IISUrl>属性都清空,<AutoAssignPort>为True,保存,重新用VS2015打开项目,然后Ctrl+F5,成功!

原理就是让VS2017重置一下启动配置。

相关文章:

  • 2021-09-25
  • 2018-11-28
  • 2022-02-22
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2021-05-22
  • 2019-07-13
猜你喜欢
  • 2021-09-25
  • 2021-10-27
  • 2021-07-25
  • 2022-12-23
  • 2022-02-08
  • 2021-11-06
相关资源
相似解决方案