简体   繁体   中英

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?

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

MS Bot Builder 依赖项图像

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM