Skip to content

When Update to 4.22.9.0,Notify Bot was fail #6876

@gamegeartw

Description

@gamegeartw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: TeamsThe issue is related to Teams supportBot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions