How to create a ngem package

NGem is a small utility that can help you to resolve assembly references (third-party or you own framework stuff).

This is the first post on how to work with NGem.

So lets imagine you have created a few assemblies:


The assembly in the directory ObjectModel.Data relies on the one called ObjectModel. So we need to create a reference…


Its pretty straight forward. Just create a file in the corresponding directory called References.xml with the following content:

<?xml version="1.0"?> <references> <add name="devcoach.ObjectModel" /> </references>

Now lets build the ngems:

ngem.exe make “D:\lib\“ devcoach ObjectModel


ngem.exe make “D:\lib\“ devcoach ObjectModel.Data


Now just upload the ngems to a http reachable destination and you’re done.

Comments are closed