[Mono-bugs] [Bug 664799] New: Unable to compile code referencing FluentNHibernate on mono 2.8.2 (ok with 2.8.1)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jan 15 18:39:53 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=664799

https://bugzilla.novell.com/show_bug.cgi?id=664799#c0


           Summary: Unable to compile code referencing FluentNHibernate on
                    mono 2.8.2 (ok with 2.8.1)
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: pruiz at netway.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=408522)
 --> (http://bugzilla.novell.com/attachment.cgi?id=408522)
Sample code to demostrate the issue

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

After upgrading to mono 2.8.2 (from 2.8.1) ASP.NET projects using
FluentNHibernate (or MvcContrib) wont run/compile, generating the following
error messages:


error CS0011: Could not load type
'FluentNHibernate.Mapping.ComponentPartBase`2[T,FluentNHibernate.Mapping.ComponentMap`1[T]]'
from assembly 'FluentNHibernate, Version=1.1.0.685, Culture=neutral,
PublicKeyToken=8aa435e3cb308880'.
error CS0011: Could not load type
'MvcContrib.FluentHtml.Elements.SelectBase`1[MvcContrib.FluentHtml.Elements.MultiSelect`1[TModel]]'
from assembly 'MvcContrib.FluentHtml, Version=2.0.36.0, Culture=neutral,
PublicKeyToken=null'.
Compilation failed: 2 error(s), 0 warnings


Reproducible: Always

Steps to Reproduce:
1. Upgrade to mono-2.8.2
2. Try to run an ASP.NET project using FluentNHibernate or MvcContrib
3. See errors during website initialization
Actual Results:  
Error during pre-compilation of ASP.NET web application

Expected Results:  
Web application running fine as it was on 2.8.1

To reproduce the issue:

tar -xvzf tc.tgz
cd tc
/run.sh

See results.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list