Skip to main content

๐Ÿ“ฆ Installation

๐Ÿ“ฅ Installing LogicBlocksโ€‹

LogicBlocks and its diagram generator are available as C# packages on nuget.

You'll also want to install the Chickensoft Introspection generator. While optional, it allows LogicBlocks to identify and preallocate states for you so that you don't have to add each state manually.

Find the latest version number of LogicBlocks, its diagram generator, and the introspection generator on nuget: Chickensoft.LogicBlocks, Chickensoft.LogicBlocks.DiagramGenerator, Chickensoft.Introspection.Generator.

<PackageReference Include="Chickensoft.LogicBlocks" Version="#.#.#" />
<PackageReference Include="Chickensoft.LogicBlocks.DiagramGenerator" Version="#.#.#" PrivateAssets="all" OutputItemType="analyzer" />
<PackageReference Include="Chickensoft.Introspection.Generator" Version="#.#.#" PrivateAssets="all" OutputItemType="analyzer" />
caution

Don't forget to include the PrivateAssets="all" and OutputItemType="analyzer" attributes on generator package references.

tip

Always use the same version of the LogicBlocks diagram generator that you use for LogicBlocks, since they are updated together.