How To: build instructions - psjw12/gitextensions GitHub Wiki

How to build and test on MS Windows in MS Visual Studio

Version 3.0x (master branch) Version 2.5x (release/2.5x branch)
Visual Studio 2017 (v15.7+), C# 7.3 featureset. Visual Studio 2015/2017

In both cases Community Edition is sufficient.

  1. Synchronize and update all submodules using GitExtensions.
  2. Restore Nuget packages If you have never set up NuGet, open Visual Studio, and go to Tools > Options. Select "NuGet Package Manager". Be sure "Allow NuGet to download missing packages" and "Automatically check for missing packages during build" are checked.
  3. Open GitExtensions.sln.
  4. Push F5 to build and run GitExtensions project.

Building the installer

  • install Visual Studio C++ featureset including "Visual C++ ATL for x86 and x64"
  • Run \Setup\BuildInstallers.cmd

Running tests

Install VS Extension "NUnit3 Test Adapter" to run the NUnit tests. Ctrl+R, A to run all tests in solution.

How to build and test on Linux under Mono

Version 3.0x (master branch) Version 2.5x (release/2.5x branch)
Not supported JetBrains Rider/MonoDevelop (Linux) / MS Visual Studio for Mac (Mac)
  1. Synchronize and update all submodules using GitExtensions.
  2. Restore Nuget packages.
  3. Open GitExtensionsMono.sln.
  4. Push F5 to build and run GitExtensions project.

Building the installer

  • Not supported

Running tests

Use the mechanics built-in to IDE of your choice.

See Git Extensions on Linux for more information.