From efc336e60cf1331bf5f3213d296981b87b8b2a6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 Jun 2023 19:24:05 +0300 Subject: =?UTF-8?q?fixes=20#3537=20(Telegram:=2032-=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D1=80=D1=8F=D0=B4=D0=BD=D0=B0=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D0=B0=D0=B4=D0=B0=D0=B5=D1=82=20=D0=B2=20?= =?UTF-8?q?64-=D1=80=D0=B0=D0=B7=D1=80=D1=8F=D0=B4=D0=BD=D0=BE=D0=B9=20Win?= =?UTF-8?q?dows)=20+=20update=20to=20the=20fresh=20TDLIB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Telegram/tdlib/td/example/csharp/README.md | 12 +++++++----- protocols/Telegram/tdlib/td/example/csharp/TdExample.cs | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'protocols/Telegram/tdlib/td/example/csharp') diff --git a/protocols/Telegram/tdlib/td/example/csharp/README.md b/protocols/Telegram/tdlib/td/example/csharp/README.md index b20d65947e..efa0490ecc 100644 --- a/protocols/Telegram/tdlib/td/example/csharp/README.md +++ b/protocols/Telegram/tdlib/td/example/csharp/README.md @@ -6,13 +6,15 @@ This is an example of building TDLib with `C++/CLI` support and an example of TD * Download and install Microsoft Visual Studio 2015 or later. * Download and install [CMake](https://cmake.org/download/); choose "Add CMake to the system PATH" option while installing. -* Install [vcpkg](https://github.com/Microsoft/vcpkg#quick-start) or update it to the latest version using `vcpkg update` and following received instructions. -* Install `gperf`, `zlib`, and `openssl` using `vcpkg`: +* Install `gperf`, `zlib`, and `openssl` using [vcpkg](https://github.com/Microsoft/vcpkg#quick-start): ``` -cd +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +git checkout 1b1ae50e1a69f7c659bd7d731e80b358d21c86ad +.\bootstrap-vcpkg.bat .\vcpkg.exe install gperf:x64-windows gperf:x86-windows openssl:x64-windows openssl:x86-windows zlib:x64-windows zlib:x86-windows ``` -* (Optional. For XML documentation generation.) Download [PHP](https://windows.php.net/download#php-7.2). Add the path to php.exe to the PATH environment variable. +* (Optional. For XML documentation generation.) Download [PHP](https://windows.php.net/download). Add the path to php.exe to the PATH environment variable. * Build `TDLib` with CMake enabling `.NET` support and specifying correct path to `vcpkg` toolchain file: ``` cd /example/csharp @@ -35,4 +37,4 @@ After `TDLib` is built you can open and run TdExample project. It contains a simple console C# application with implementation of authorization and message sending. Just open it with Visual Studio 2015 or later and run. -Also see TdExample.csproj for example of including TDLib in C# project with all native shared library dependencies. +Also, see TdExample.csproj for example of including TDLib in C# project with all native shared library dependencies. diff --git a/protocols/Telegram/tdlib/td/example/csharp/TdExample.cs b/protocols/Telegram/tdlib/td/example/csharp/TdExample.cs index 0c07ee7c7b..3cb1949d6a 100644 --- a/protocols/Telegram/tdlib/td/example/csharp/TdExample.cs +++ b/protocols/Telegram/tdlib/td/example/csharp/TdExample.cs @@ -1,5 +1,5 @@ // -// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022 +// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -- cgit v1.2.3