Manual build
This article describes how you can manually build the library from sources. Just follow the steps below:
- Select the branch you want to build sources from (master or develop).
- Download sources with any method you want:
- via
Code
→Download ZIP
button on GitHub, then extract archive; or git clone https://github.com/melanchall/drywetmidi.git
; or- somehow else.
- via
- Download native binaries required to work with MIDI devices and default playback:
- for master branch take DryWetMIDI.<release_number>-bin-native.zip archive from Releases (<release_number> is the number of the library release you want to build);
- for develop branch go to https://dev.azure.com/Melanchall/DryWetMIDI/_build/latest?definitionId=6&branchName=develop and download DryWetMIDI.<release_number>-bin-native.zip from
Artifacts
→Binaries
.
- Extract the archive and place extracted files near
<your_local_folder_with_repository>\DryWetMidi\Melanchall.DryWetMidi.csproj
. - Build the solution
<your_local_folder_with_repository>\Melanchall.DryWetMidi.sln
.
For build you can use any tool you want: dotnet
CLI, Visual Studio, Rider and so on. The library uses "new" csproj format so your build tools should be modern enough.
master branch contains code that the library releases built on. develop one is for current development so if you need the latest code, use this branch.