I have an existing project, still referencing ServiceStack.Kestrel.Core v5.8.0, and Microsoft.AspNetCore.Server.Kestrel.Core v2.1.2, after installing .NET 5 I am getting the following Loader Exception when trrying to start an AppSelfHostBase:
Could not load type ‘Microsoft.Extensions.Primitives.InplaceStringBuilder’ from assembly 'Microsoft.Extensions.Primitives, Version=220.127.116.11, Culture=neutral, PublicKeyToken=adb9793829ddae60
I have tried uninstalling .NET 5 SDK but this issue remains, the application can continue to run if you ignore this error, but it is not able to return a Http Response, and so it looks like the application runs but all responses are invalid HTTP, and nothing can parse them.
Please could you look into this? Apart from moving to another dev environment I’m stuck here.