Reputation: 31
I'm building a chat bot with Microsoft Azure on .NET Framework C#, installed all the references, but after update to Microsoft.Bot.Builder
4.0.7 this reference is unable to find it and showing this type of error:
Error CS0234 The type or namespace name 'Dialogs' does not exist in the namespace 'Microsoft.Bot.Builder' (are you missing an assembly reference?)
Upvotes: 1
Views: 1745
Reputation: 123
There is a specific package for the Dialogs which is does not come with Microsoft.Bot.Builder
even though it is the same namespace. You need to install the package Microsoft.Bot.Builder.Dialogs
linked here and add that to your using statements. That ought to get rid of your error.
Using Package Manager
Install-Package Microsoft.Bot.Builder.Dialogs
Using .NET CLI (for dotnet core)
dotnet add package Microsoft.Bot.Builder.Dialogs
Upvotes: 1
Reputation: 233
You need to use the .NET framework version >=4.6. This error is faced when .net framework is 4.5. Microsoft.Bot.Builder version 3.8.0 works with it.
Upvotes: 0
Reputation: 31
Finally I found, they got problem with .net standard and latest bot-package update. Use stable bot-package version 3.15.2, no need to update all, just update other things except bot related reference. The Problem is going to solve.
Upvotes: 0
Reputation: 81583
With the help of the google machine, i have figured you are probably jsut needing
Disclaimer , after looking around for resources and documentation on this, i have managed to find none to show the available SDK nugets
Its like they want to keep it a secret
Upvotes: 0