L
L
lpinvie2018-12-08 13:30:04
Mono
lpinvie, 2018-12-08 13:30:04

Compiling a program with Telegram.Bot on Ubuntu, how to do it?

Hello everyone, I installed Ubuntu Server on a remote server (VPS), installed mono (I don’t remember the command I installed it with), after which I can compile simple c# programs using the mcs name.cs command and then run programs through mono name.exe.
But, this works only for the System namespace, how can I compile the program if I want to make a Telegam bot on Ubuntu?
Those. as I understand it, I need to install the Telegram.Bot package, but where to install it, how to use it correctly in the end?
In principle, it doesn’t matter to me whether to compile on Ubuntu or on Windows, as long as in the end I can run the telegram bot on Ubuntu Server.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Silin, 2018-12-08
@lpinvie

Telegram.Bot.Framework supports dotnet core . With its help, you can develop on Windows in VS, and then just deploy on ubunt, or develop on anything in VS Code, and then deploy on ubuntu.
PS dotnet core is microsoft's cross-platform dotnet

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question