Skip to content

windward-studios/ikvm8

Repository files navigation

Windward IKVM

Build

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.

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

Package NuGet

  • 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.8.5.0.2.nupkg -Source https://api.nuget.org/v3/index.json