Skip to content

Commit

Permalink
Support .NET Core 3.1 (tdlib#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorymi authored Jan 29, 2020
1 parent 488437f commit b7f876e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ See [example/java](https://github.com/tdlib/td/tree/master/example/java) for exa
<a name="using-dotnet"></a>
## Using in .NET projects
`TDLib` provides native .NET interface through `C++/CLI` and `C++/CX`. To enable it, specify option `-DTD_ENABLE_DOTNET=ON` to CMake.
.NET Core doesn't support `C++/CLI`, so if .NET Core is used, then `TDLib` JSON interface should be used through P/Invoke instead.
And you can use native C++/CLI TDLib interface in .NET Core 3.1 (Only Windows)
.NET Core Less than 3.1 doesn't support `C++/CLI`, so if .NET Core is used, then `TDLib` JSON interface should be used through P/Invoke instead.

See [example/csharp](https://github.com/tdlib/td/tree/master/example/csharp) for example of using `TDLib` from C# and detailed build and usage instructions.
See [example/uwp](https://github.com/tdlib/td/tree/master/example/uwp) for example of using `TDLib` from C# UWP application and detailed build and usage instructions for Visual Studio Extension "TDLib for Universal Windows Platform".
Expand Down

0 comments on commit b7f876e

Please sign in to comment.