-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with dotnet runtime in docker container #1432
Comments
This issue isn't related to library at all. In this line
Please close this issue. |
Ok, thanks, I'll try that. |
@flor3sc0 That's because since v21 it was added "Microsoft.Extensions.Options.ConfigurationsExtensions" dependency that requieres ASP.NET Core Runtime for work |
I had the same problem, the solution was very simple. |
Steps to reproduce
Create project
Create Dockerfile
Build and run docker container
Expected behavior
The worker prints a message with the date and time to the console
Actual behavior
Error message
Screenshots
Environment data
NuGet Package Version:
<PackageReference Include="Telegram.Bot" Version="22.0.2" />
.NET Version: (e.g. 4.7, Core 1.1, Mono, etc.)
.net 8.0
The text was updated successfully, but these errors were encountered: