Signing NCommon

12 views
Skip to first unread message

Damian Hickey

unread,
Jun 3, 2009, 4:26:49 PM6/3/09
to ncommon
Hi Ritesh,

firstly, I really like the framework, many thanks for making it
available.

I need NCommon*.dll to have a strong name so I went about compiling
the source and signing it myself but it appears that the
NHibernate.dll, NHibernate.Linq.dll and FluentNHibernate that is
shipped with 1.0 are not signed either. I looked at the source for
these libraries and see that they are signed by default (and design),
so I conclude you are doing a custom build of these dependencies. Any
reason you aren't using the signed versions as outputted by their
build scripts / project settings?

I am having a specific problem with FluentNHibernate version you are
shipping as described here: http://groups.google.com/group/fluent-nhibernate/msg/623de48f45838aa2?

So I went about compiling the whole lot but ended up going down
dependency & versioning hell. FNH is only guaranteed to work against a
released version of NH (namely 2.0.1 GA), so was having problems with
2.1.0.x. NHL is built against an out of date trunk version of NH, but
there is a branch for NH 2.0.x I can work with. Eventually got the
whole lot compiled against the same signed version of NH, but then was
getting XML document validation errors when running my app from with
FNH. Anyway, ended up with all sorts of hair-pulling face
-palming problems with a code base that I'm only just getting familiar
with...

I'd submit a patch to sign NCommon assemblies, but can't as I don't
have access to your custom builds of the various NH libs... then
again, maybe I can't see the forest for the trees right now.

Any advice appreciated...

Ritesh Rao

unread,
Jun 3, 2009, 6:32:49 PM6/3/09
to nco...@googlegroups.com
Damian,

You are correct, NCommon source and binaries is build against NH 2.1.0 Alpha 3 trunk, so thats why a custom build of fluent-nh and nh.linq was built so that they can be used with NH 2.1.0. Alpha 3 binaries. I'll provide source and binaries that are built against NH 2.0.1 with strong singing included. I'll update this discussion when the packages are up there, which shouldn't be long.

- Ritesh

Damian Hickey

unread,
Jun 4, 2009, 5:50:19 AM6/4/09
to nco...@googlegroups.com
Good stuff. Thanks for the quick response also. :)

Regards,

Damian

2009/6/3 Ritesh Rao <rao.r...@gmail.com>

Ritesh Rao

unread,
Jun 4, 2009, 6:56:20 AM6/4/09
to nco...@googlegroups.com
I've added a new download that contains signed binaries that work with NHibernate 2.0.1 GA. Also the source is located in the following branch:


Lemme know if you run into any issues.

Damian Hickey

unread,
Jun 29, 2009, 4:26:05 PM6/29/09
to ncommon
Many thanks for that Ritesh.

(A bit slow in the response there, sorry 'bout that).

On Jun 4, 11:56 am, Ritesh Rao <rao.rit...@gmail.com> wrote:
> I've added a new download that contains signed binaries that work with
> NHibernate 2.0.1 GA. Also the source is located in the following branch:https://ncommon.googlecode.com/svn/branches/nh_2_0_1
>
> Lemme know if you run into any issues.
>
> On Thu, Jun 4, 2009 at 5:50 AM, Damian Hickey <dhic...@gmail.com> wrote:
> > Good stuff. Thanks for the quick response also. :)
>
> > Regards,
>
> > Damian
>
> > 2009/6/3 Ritesh Rao <rao.rit...@gmail.com>
>
> > Damian,
> >> You are correct, NCommon source and binaries is build against NH 2.1.0
> >> Alpha 3 trunk, so thats why a custom build of fluent-nh and nh.linq was
> >> built so that they can be used with NH 2.1.0. Alpha 3 binaries. I'll provide
> >> source and binaries that are built against NH 2.0.1 with strong singing
> >> included. I'll update this discussion when the packages are up there, which
> >> shouldn't be long.
>
> >> - Ritesh
>

Brad Buckingham

unread,
Jul 10, 2009, 10:38:11 PM7/10/09
to ncommon
Hi Ritesh,

I tried downloading from the link you provided, but it requires a
username and password...

Thanks,
Brad

On Jun 4, 3:56 am, Ritesh Rao <rao.rit...@gmail.com> wrote:
> I've added a new download that contains signed binaries that work with
> NHibernate 2.0.1 GA. Also the source is located in the following branch:https://ncommon.googlecode.com/svn/branches/nh_2_0_1
>
> Lemme know if you run into any issues.
>
>
>
> On Thu, Jun 4, 2009 at 5:50 AM, Damian Hickey <dhic...@gmail.com> wrote:
> > Good stuff. Thanks for the quick response also. :)
>
> > Regards,
>
> > Damian
>
> > 2009/6/3 Ritesh Rao <rao.rit...@gmail.com>
>
> > Damian,
> >> You are correct, NCommon source and binaries is build against NH 2.1.0
> >> Alpha 3 trunk, so thats why a custom build of fluent-nh and nh.linq was
> >> built so that they can be used with NH 2.1.0. Alpha 3 binaries. I'll provide
> >> source and binaries that are built against NH 2.0.1 with strong singing
> >> included. I'll update this discussion when the packages are up there, which
> >> shouldn't be long.
>
> >> - Ritesh
>

Ritesh Rao

unread,
Jul 11, 2009, 12:24:45 AM7/11/09
to nco...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages