DiceRoller 2.0.0

.NET Framework 4.5.2
There is a newer version of this package available.
See the version list below for details.
dotnet add package DiceRoller --version 2.0.0
NuGet\Install-Package DiceRoller -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DiceRoller" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DiceRoller --version 2.0.0
#r "nuget: DiceRoller, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DiceRoller as a Cake Addin
#addin nuget:?package=DiceRoller&version=2.0.0

// Install DiceRoller as a Cake Tool
#tool nuget:?package=DiceRoller&version=2.0.0

Extensible and well-documented dice roller with a robust set of features. Excellent for play-by-post forums, virtual tabletops, or for integrating into character sheets or encounter managers.

Product Versions
.NET Framework net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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
4.2.0 886 6/15/2021
4.1.0 4,433 12/26/2019
4.0.0 2,732 12/23/2018
3.1.0 1,083 10/6/2017
3.0.2 794 9/30/2017
3.0.1 787 9/23/2017
3.0.0 796 9/16/2017
2.0.2 886 6/21/2017
2.0.1 895 5/12/2017
2.0.0 961 5/6/2017
1.1.0 841 4/20/2017
1.0.0 860 4/18/2017

* Serializing/deserializing should be handled by the Serialize and Deserialize methods on RollPost/RollResult/DieResult rather than directly using BinaryFormatter
* Unary negations cannot be stacked on a number. -(-1) is valid, --1 is not.
* New Name and Arguments property on MacroContext. Params/Name/Arguments have whitespace trimmed.
* Allow subclasses of DiceAST outside of Dice.dll to override UnderlyingRollNode in preparation for the ability for outside assemblies to extend the parser (planned for a later 2.x version).
* Additional documentation comments, and fixing some inaccuracies in existing comments.
* Additional unit tests.
* Throw more informational exceptions rather than having an internal detail throw an exception (ArgumentNullException instead of NullReferenceException, InvalidOperationException with a more meaningful error message rather than ArgumentException on Dictionary.Add, etc.).
* Fix roll macro argument parsing.
* Expose Dice.Grammar.DiceErrorListener (was documented as public but not marked as such in the code).

See https://skizzerz.net/DiceRoller/Changelog for more changes.