botbuilder-dotnet icon indicating copy to clipboard operation
botbuilder-dotnet copied to clipboard

When Update to 4.22.9.0,Notify Bot was fail

Open gamegeartw opened this issue 1 year ago • 1 comments

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using. Microsoft.Bot.Builder 4.22.9.0

Describe the bug

I use Microsoft.Bot.Builder 4.22.9.0 and encounter a CS0012 error indicating that the type 'BotAdapter' is defined in an assembly that is not referenced. The error message suggests adding a reference to 'Microsoft.Bot.Builder, Version=4.22.7.0, Culture=neutral, PublicKeyToken=null', but this version does not match the one I am using.

To Reproduce

Steps to reproduce the behavior:

  1. Use TeamsToolKit and Create a new .NET 8 project (Select Notification Bot)
  2. Update Microsoft.Bot.Builder 4.22.9.0 package.
  3. Attempt to use the 'BotAdapter' type in the code.
  4. See error CS0012.

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.Image

Additional context

The issue seems to be related to a mismatch in the assembly version referenced in the error message and the actual package version being used.

gamegeartw avatar Dec 16 '24 12:12 gamegeartw

@gamegeartw - Thank you for bringing this issue to our attention. We are able to repro your issue. We have raised a bug for the same, we will let you know once we get any updates on it.

Nivedipa-MSFT avatar Dec 17 '24 05:12 Nivedipa-MSFT