| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 1 | # Apache Thrift net-core-lib |
| 2 | |
| 3 | Thrift client library ported to Microsoft .Net Core |
| 4 | |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 5 | # Content |
| 6 | - Tests/Thrift.PublicInterfaces.Compile.Tests - project for checking public interfaces during adding changes to Thrift library |
| 7 | - Thrift - Thrift library |
| 8 | |
| 9 | # Reused components |
| 10 | - NET Core Standard 1.6 (SDK 1.0.0-preview2-003121) |
| 11 | - NET Core App 1.1 |
| 12 | |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 13 | # How to build |
| 14 | |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 15 | - Download and install .NET Core SDK for your platform https://www.microsoft.com/net/core#windowsvs2015 |
| 16 | - Ensure that you have thrift.exe which supports netcore lib and it added to PATH |
| 17 | - Go to current folder |
| 18 | - Run **build.sh** or **build.cmd** from the root of cloned repository |
| 19 | - Check tests in **src/Tests** folder |
| 20 | - Continue with /tutorials/netcore |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 21 | |
| 22 | #Notes |
| 23 | |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 24 | - Migration to .NET Standard 2.0 planned for later (Q1 2017) according to https://blogs.msdn.microsoft.com/dotnet/2016/09/26/introducing-net-standard/ |
| 25 | - Possible adding additional platforms after stabilization of .NET Core (runtimes, platforms (Red Haat Linux, OpenSuse, etc.) |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 26 | |
| 27 | #Known issues |
| 28 | |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 29 | - In trace logging mode you can see some not important internal exceptions |
| 30 | - Ubuntu 16.10 still not supported fully |
| 31 | - There is some problems with .NET Core CLI and usage specific -r|--runtime for building and publishing projects with different target frameworks (netstandard1.6 and netcoreapp1.1) |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 32 | |
| Volodymyr Gotra | b62247e | 2017-01-16 02:34:28 +0200 | [diff] [blame] | 33 | # Troubleshouting |
| 34 | |
| 35 | It's possible to change dotnet SDK version for building for solution (in **global.json**). Just run **dotnet --info** to check your current version (or check your dotnet sdk folder for installed versions) |