IceRPC and Slice packages
dotnet add package IceRpc.Slicedotnet add package IceRpc.Slice.Tools
The Slice compiler included in
IceRpc.Slice.Tools generates C# code that depends on the
IceRpc.Slice packages. You need
IceRpc.Slice.Tools only during development.
IceRPC and Protobuf packages
dotnet add package IceRpc.Protobufdotnet add package IceRpc.Protobuf.Tools
The protoc compiler and the protoc-gen-icerpc-csharp generator included in
IceRpc.Protobuf.Tools generates C# code that depends on the
IceRpc.Protobuf packages. You need
IceRpc.Protobuf.Tools only during development.
If you plan on using IceRPC with JSON, or some other serialization format, add the IceRpc package to your project with the following command:
dotnet add package IceRpc
Adding optional packages
Even though all the other packages are optional, it's likely you will want to add one or more of them to your project. For example, you can add the package IceRpc.Transports.Quic to use the QUIC transport with the following command:
dotnet add package IceRpc.Transports.Quic
The full list of IceRPC packages is available on the next page.