See HOWTO for the build instructions. The quick start is
A note on using NAnt. If you encounter a System.Security.SecurityException while running nant, apply the following fix.
From stackoverflow
I found that the problem was Windows security related in that the downloaded NAnt zip file needed additional security related configuration to be performed: before extracting, one must right click on the zip file, select Properties and under the General tab, click the button labelled Unblock, the click OK on the Properties window. Now, extract the file to your desired location.
Must be set to use JDK 8.
Download ICSharpCode.SharpZipLib.dll (http://www.icsharpcode.net/opensource/sharpziplib/) and copy to the bin folder.
Download openjdk-8u45-b14 (http://www.frijters.net/openjdk-8u45-b14-stripped.zip) and unpack in the peer folder to ikvm.
In the root folder run nant.
nant
Produces a release build.
nant -D:debug=true
Produces a debug build with all. pdb files in the bin folder.
Add the ikvm-key.snk to the key container
sn.exe -i ikvm-key.snk ikvm-key
And run nant
nant signed
nuget.exe setApiKey <api key here>
nuget.exe push IKVM.WINDWARD.8.5.0.2.nupkg -Source https://api.nuget.org/v3/index.json