Sylvan.BuildTools.ThriftCompiler
0.1.0-b0025
Prefix Reserved
dotnet add package Sylvan.BuildTools.ThriftCompiler --version 0.1.0-b0025
NuGet\Install-Package Sylvan.BuildTools.ThriftCompiler -Version 0.1.0-b0025
<PackageReference Include="Sylvan.BuildTools.ThriftCompiler" Version="0.1.0-b0025">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
paket add Sylvan.BuildTools.ThriftCompiler --version 0.1.0-b0025
#r "nuget: Sylvan.BuildTools.ThriftCompiler, 0.1.0-b0025"
// Install Sylvan.BuildTools.ThriftCompiler as a Cake Addin
#addin nuget:?package=Sylvan.BuildTools.ThriftCompiler&version=0.1.0-b0025&prerelease
// Install Sylvan.BuildTools.ThriftCompiler as a Cake Tool
#tool nuget:?package=Sylvan.BuildTools.ThriftCompiler&version=0.1.0-b0025&prerelease
Sylvan Thrift Compiler
The Sylvan.BuildTools.ThriftCompiler
package provides build-time code generation for .thrift files.
Including this package in a project will generate C# types for all .thrift
files in the project, that provide
serialization in the Thrift format.
This package does not introduce a runtime dependency, as all code is compiled into the consuming project.
Currently supports generating code that targets the ApacheThrift
runtime package, which is a requirement of the generated code.
Thrift projects would normally use some version of thrift-###.exe to generate source files. This package is a replacement, which offers the following advantages:
- Generated code is not included in the project and thus does not need to be managed in source control.
- This package is entirely .NET/MSbuild and can work cross-platform, whereas the thrift exe is platform-specific.
- The generated code namespace is determined by the consuming project, but can be overridden by thrift namespace.
- Allows customizing the visibility (public/internal) of the generated types. With thrift.exe all types are public.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|