执行上面操作以后,如果本机没有装好docker,就会一直报错,无法build通过,无论你在Project的属性里面选Docker,还是IIS Express。。。

这个时候需要修改xxxx.csproj.user文件,将其中的

<ActiveDebugProfile>Docker</ActiveDebugProfile>

修改为

<ActiveDebugProfile>IIS Express</ActiveDebugProfile>

就能Build通过了。

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-09-19
  • 2021-09-19
猜你喜欢
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-09-05
  • 2021-09-03
相关资源
相似解决方案