Closed Mertsch closed 2 months ago
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.
Maybe it is the same as https://github.com/OfficeDev/teams-toolkit/issues/11677, we will Upgrade Microsoft.Bot.Builder to latest version.
Describe the bug
After upgrading to
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.22.3" />
from<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.22.2" />
I get the following error message while compilingCS0012 The type 'InvokeResponse' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Bot.Connector, Version=4.21.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
This happens even if I explicitly reference
Microsoft.Bot.Connector
To Reproduce
Happens in all places using
InvokeResponseFactory.ErrorResponse(InvokeResponseErrorCode.BadRequest, "Invalid card data. Please contact your administrator.");
Decompiled sources navigate toMaybe TeamsFx needs to be updated, too?
Expected behavior
No error
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.