The C# code generated by Thrift uses the Thrift
namespace. To be able to use the code generated by Thrift you need to reference Thrift.dll
in your project to gain access to the Thrift
namespace. This is required for the Thrift generated C# code to compile.
Thrift.sln
solution file under thrift/lib/csharp/src
You should now have the required Thrift.dll located under thrift/lib/csharp/src/bin/Debug/Thrift.dll
Add Reference
You can now use the Thrift namespace in your source code:
using Thrift; using Thrift.Protocol; using Thrift.Server; |