However, if I run the latest build I get this instead.
Unit Test Adapter threw exception: Type is not resolved for member
'FluentNHibernate.Cfg.FluentConfigurationException,FluentNHibernate,
Version=1.0.0.600, Culture=neutral, PublicKeyToken=8aa435e3cb308880'..
Yes, I've deleted every single obj and bin directory from my solution,
added the correct dlls into my emptied References directory (including
a straight unzipping of the latest build), then rebuilt the solution.
Over to you.
--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.
http://fluentnhibernate.org/downloads/fluentnhibernate-binary-1.0.0.600.zip
Bottom left of the http://fluentnhibernate.org/downloads page.
The only similar thing I can find is an issue with AppDomains in the
unit test framework vs the location of test database mdb files which
shouldn't be the issue here as I'm not using one.
On Dec 22, 4:21 pm, James Gregory <jagregory....@gmail.com> wrote:
> Where'd you get the latest build from?
>
> On Tue, Dec 22, 2009 at 4:20 PM, playtime <playtime...@googlemail.com>wrote:
>
>
>
> > If I use the RTM, I run into my old friend, Issue 323.
>
> > However, if I run the latest build I get this instead.
>
> > Unit Test Adapter threw exception: Type is not resolved for member
> > 'FluentNHibernate.Cfg.FluentConfigurationException,FluentNHibernate,
> > Version=1.0.0.600, Culture=neutral, PublicKeyToken=8aa435e3cb308880'..
>
> > Yes, I've deleted every single obj and bin directory from my solution,
> > added the correct dlls into my emptied References directory (including
> > a straight unzipping of the latest build), then rebuilt the solution.
>
> > Over to you.
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Fluent NHibernate" group.
> > To post to this group, send email to fluent-n...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > fluent-nhibern...@googlegroups.com<fluent-nhibernate%2Bunsubscri...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/fluent-nhibernate?hl=en.- Hide quoted text -
>
> - Show quoted text -
http://thisthattechnology.blogspot.com/2009/03/vsts-unit-test-type-is-not-resolved.html
I don't have the source here but the dissassembly window tells me it's
hanging at:
FluentNHibernate.Cfg.FluentConfigurationException.ToString()
00000000 push ebp
00000001 mov ebp,esp
00000003 push edi
00000004 push esi
00000005 push ebx
00000006 sub esp,58h
00000009 mov esi,ecx
0000000b lea edi,[ebp-34h]
0000000e mov ecx,9
00000013 xor eax,eax
00000015 rep stos dword ptr es:[edi]
00000017 mov ecx,esi
00000019 xor eax,eax
0000001b mov dword ptr [ebp-18h],eax
0000001e mov dword ptr [ebp-28h],ecx
00000021 cmp dword ptr ds:[0517D794h],0
00000028 je 0000002F
0000002a call 5A8B0889
0000002f xor edx,edx
00000031 mov dword ptr [ebp-2Ch],edx
00000034 xor edx,edx
00000036 mov dword ptr [ebp-34h],edx
00000039 xor edx,edx
0000003b mov dword ptr [ebp-30h],edx
0000003e mov ecx,dword ptr [ebp-28h] <-- Here
during the call to FluentConfiguration.BuildSessionFactory().
That's all I've got.
I started another project and tried to work up to where the issue
occured.
I use a wrapper class around the Fluent configuration as a static
variable in the unit test class.
When the configuration has errors, this causes the above issue with
serialising exceptions between AppDomains.
Instead, when I create the wrapper class in the UnitTest method, I see
the exception as normal.
Mark this one as solved.