-
Notifications
You must be signed in to change notification settings - Fork 493
Open
Labels
Area: TeamsThe issue is related to Teams supportThe issue is related to Teams supportBot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.Indicates 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.Indicates 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.Issue is created by anyone that is not a collaborator in the repository.
Description
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:
- Use TeamsToolKit and Create a new .NET 8 project (Select Notification Bot)
- Update Microsoft.Bot.Builder 4.22.9.0 package.
- Attempt to use the 'BotAdapter' type in the code.
- 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.
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.
MathiasZander
Metadata
Metadata
Assignees
Labels
Area: TeamsThe issue is related to Teams supportThe issue is related to Teams supportBot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.Indicates 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.Indicates 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.Issue is created by anyone that is not a collaborator in the repository.