Nevermind.  I just saw the earlier posts about the same issue.  I will
use the older version for now until Henry can get it updated.

The main reason I have the 3.0b1 references is that the WCF Facility's
nuget package requires them.  Perhaps it would be prudent to compile
and publish a version of WCF Facililty that targets the older version
so others don't end up in this mess.  In the meantime, I should be
able to compile WCF Facility manually to target the older version of
Castle, right?  I need to use all three facilities (AutoTx, NHibernate
& WCF).

Thanks,
Matt


On Nov 3, 1:42 pm, mj1856 <[email protected]> wrote:
> Hi.
>
> I'm just now trying out the AutoTx, NHibernate and WCFIntegration
> facilities.  I have the following latest versions from NuGet:
>
> <packages>
>   <package id="Castle.Core" version="3.0.0.2001" />
>   <package id="Castle.Facilities.AutoTx" version="3.0.202.2202" />
>   <package id="Castle.Facilities.NHibernate" version="0.5.1.4000" />
>   <package id="Castle.Services.Transaction" version="3.0.202.2202" />
>   <package id="Castle.WcfIntegrationFacility" version="3.0.0.2001" />
>   <package id="Castle.Windsor" version="3.0.0.2001" />
>   <package id="FluentNHibernate" version="1.3.0.717" />
>   <package id="Iesi.Collections" version="3.2.0.4000" />
>   <package id="NHibernate" version="3.2.0.4000" />
> </packages>
>
> I make a call as follows:
>
> var container = new WindsorContainer();
> container.AddFacility<AutoTxFacility>();
>
> The second line immediately returns the following:
>
> Assembly Initialization method
> Example.Data.Tests.TestHarness.Initialize threw exception.
> System.TypeLoadException: System.TypeLoadException:
> GenericArguments[0], 'TService', on
> 'Castle.MicroKernel.Registration.RegistrationGroup`1[S]' violates the
> constraint of type parameter 'S'.. Aborting test execution.
>
> Is this broken?  Any ideas?  I don't see any constraints on
> RegistrationGroup<S> other than "class"  I'm not sure where TService
> is coming from...
>
> Thanks.
> -Matt

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to