Visual Studio 2017 RC的坑

ASP.NET Core Project add Docker Project Support的问题

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

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

<ActiveDebugProfile>Docker</ActiveDebugProfile>

修改为

<ActiveDebugProfile>IIS Express</ActiveDebugProfile>

就能Build通过了。

原文地址:https://www.cnblogs.com/windchen/p/6340722.html