Search code examples
c#asp.net-core.net-coresdkbotframework

Can I use .NET core 3.0 SDK on Microsoft's Bot Framework?


I installed the latest .NET core SDK (3.0.100) and wanted to use it in my Bot Framework project, since I'm adding Entity Framework Core (the latest version requires net core 3). When I change my settings:

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
  </PropertyGroup>

VB2019 tells me the current .net SDK does not support targeting core 3.0.

When I check my .NET core SDKs in the CLI dotnet --list-sdks I can see the .net 3 sdk installed.

Do I have to keep using netcoreapp2.1 and an older version of Entity Framework Core, or can I upgrade it?


Solution

  • The C# Bot Framework is dependent on .NETStandard 2.0, as seen here:

    MS Bot Builder dependencies image

    Because .NETStandard doesn't support 3.0 as seen here, AFAIK, you won't be able to use 3.0, even if it's installed. I recommend raising this issue in the BotBuilder-Dotnet repo