Building and testing

Visual Studio (Windows)

Noda Time is developed on Visual Studio 2019. All editions of Visual Studio 2019, including the community edition, should be able to build Noda Time, so long as you also have the .NET Core SDK installed. We periodically update the version of the .NET Core SDK that we build with, so updating to the latest Visual Studio and the SDK may be required, but that should always be sufficient.

To fetch the source code from the main GitHub repository, you'll need a git client. You may also want a Git GUI, such as SourceTree.

Fetching and building

To fetch the source code, just clone the GitHub repository:

> git clone

To build everything under Visual Studio, simply open the src\NodaTime.sln file.

To build with just the .NET Core SDK, run

> dotnet build src/NodaTime.sln

To run the tests:

> dotnet test src/NodaTime.Test