一朋友发过来一个asp.net项目的代码,尝试在VS2017中运行,无法启动,提示:

A project with an Output type of Class Library cannot be started directly

网上查到了解决办法:

在解决方案浏览器中,选中web项目,右击,选中“Set as StartUp Project",

A project with an Output type of Class Library cannot be started directly

然后VS顶部出现IIS选项,点击它,运行成功:

A project with an Output type of Class Library cannot be started directly

 

相关文章:

  • 2022-12-23
  • 2021-12-07
  • 2021-09-24
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-05-10
猜你喜欢
  • 2021-07-08
  • 2021-12-10
  • 2021-05-25
  • 2021-07-05
  • 2021-05-26
  • 2022-01-13
相关资源
相似解决方案