stdray / Seq.App.Telegram

An app for Seq (http://getseq.net) that forwards messages to Telegram.
Apache License 2.0
10 stars 12 forks source link

System.IO.FileNotFoundException: Could not load file or assembly 'Telegram.Bot, Version=13.2.1.0, Culture=neutral, PublicKeyToken=null'. #3

Closed yunfandev closed 4 years ago

yunfandev commented 4 years ago

I install the latest version v.0.0.1.9

When I try to send an event to telegram it failed with the following error

System.IO.FileNotFoundException: Could not load file or assembly 'Telegram.Bot, Version=13.2.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'Telegram.Bot, Version=13.2.1.0, Culture=neutral, PublicKeyToken=null'
   at Seq.App.Telegram.TelegramReactor.On(Event`1 evt)
   at Seq.Apps.GenericHost.AppHost.SendTypedEventAsync(String clef)
yunfandev commented 4 years ago

I run the latest docker version seq.

I found this problem is caused by the absence of Telegram.Bot.dll in the net452 directory.

stdray commented 4 years ago

@yunfandev thanx for contrubution. also i've created .netstandart package which compatible with Seq5.1+. You may try to use it (nuget version 5+).