Closed MrDave1999 closed 1 year ago
Hi @MrDave1999,
I used botframework sdk 4.18.1 in .NET 7 project and it works as expected.
Project file
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.7" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.18.1" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.18.1" />
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
@ramfattah Thanks for taking the time to test. I just did a test with a project using adaptive cards and it worked as expected.
@MrDave1999, I created few dotnet bot samples using .NET 7 with minimal APIs here
Is there any problem if I use bot framework for a project that targets .NET 7?