App Host template for .NET Core runtime version 2.2.1 not found

Hi,
I have a net core console app set to use .NetCore2.2 and I get this error

App Host template for .NET Core runtime version 2.2.1 not found at ‘/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Host.osx-x64/2.2.1’

At /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Host.osx-x64/ I have these folders

drwxr-xr-x 3 root wheel 96 Sep 13 11:05 3.0.0
drwxr-xr-x 3 root wheel 96 Apr 27 2019 3.0.0-preview5-27626-15
drwxr-xr-x 3 root wheel 96 Nov 15 10:44 3.1.0

Seems like this is only for 3.x ?

Cheers,
John

Possibly yeah. There’s and option you can set to turn this off, but I’ll review the default to skip it automatically below 3.0 for vNext.

Fixed

1 Like