iis is immediately closed after publishing asp.net core project

后端 未结 1 521
清酒与你
清酒与你 2021-01-21 02:52

IIS Express is immediately closed after i try to debug my asp.net core project under it. i am using visual studio 2015 update 3.

Thanks in advance

my packages ar

相关标签:
1条回答
  • 2021-01-21 03:25

    I could reproduce this behaviour and I am pretty sure this is caused by missing .NET Core 1.1 runtime libraries. When you go to C:\Program Files\dotnet\shared\Microsoft.NETCore.App you probably won't see the '1.1.0' directory.

    Go to https://www.microsoft.com/net/download/core and install the SDK library (select Current and SDK).

    N.B. If you did try (as I suggested in one of my comments) to remove the "type": "platform" line (and adding the runtimes part (depending on your windows version) then you'll see it won't crash. Without having to install the runtime / SDK.

    0 讨论(0)
提交回复
热议问题