See HOWTO for the build instructions. The quick start is
- Install NAnt (https://sourceforge.net/projects/nant/files/nant/0.92/).
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 7 (not 8 or later).
-
Download ICSharpCode.SharpZipLib.dll (http://www.icsharpcode.net/opensource/sharpziplib/) and copy to the bin folder.
-
Download openjdk-7u6-b24 (https://sourceforge.net/projects/ikvm/files/ikvm/7.2.4630.5/) 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.
- To produce the strongly named assemblies
Add the ikvm-key.snk to the key container
sn.exe -i ikvm-key.snk ikvm-key
And run nant
nant signed
- build a signed version of the project
- from the nuget directory run these commands
- nant IKVM.nuspec
- nant nupkg
- To publish set your nuget Api key:
nuget.exe setApiKey <api key here>
- then use nuget push to push nug nuget gallery:
nuget.exe push IKVM.WINDWARD.7.5.0.1.nupkg -Source https://api.nuget.org/v3/index.json