Daniel Fisher (lennybacon.com)

SOA, DATA & THE WEB

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:

image

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

image

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

image

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

image

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

Comments

Write a comment