[Mono-bugs] [Bug 672012] New: Mono.CSharp dll windows project is missing assembly attribute for .NET 4.0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Feb 15 04:04:14 EST 2011


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

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


           Summary: Mono.CSharp dll windows project is missing  assembly
                    attribute for .NET 4.0
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.10.x
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Other.
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dans at houmus.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre)
Gecko/20110210 Firefox/4.0b12pre

Actually two problems...
The Mono.CSharp-net_4_0.csproj does not really build a .NET 4.0 assembly, but
rather a .NET 3.5 when opened in Visual Studio 2010.

When the project is set to actually build a real .NET 4.0 assembly, the MS .NET
security rules conflict with the code.

To resolve this I've added:
[assembly: SecurityRules(SecurityRuleSet.Level1)]
to the assemblyinfo.cs file..

Reproducible: Always

Steps to Reproduce:
1. Try to actually build Mono.CSharp for .NET 4.0
2. Compile anything against it
3. It doesnt work... (at runtime!)
Actual Results:  
Anything using Mono.CSharp dies miserably

Expected Results:  
Should work

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


More information about the mono-bugs mailing list