[Mono-bugs] [Bug 424156] New: asp.net compiler: dependent assemblies not copied to shadow copy directory

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 7 20:50:36 EDT 2008


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


           Summary: asp.net compiler: dependent assemblies not copied to
                    shadow copy directory
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86-64
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jhill at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Product Management


Running xsp2 against any version of Graffiti CMS (download from
graffiticms.com) fails with the exception below regarding failure to load
Graffiti.Core.dll from the /tmp/.../shadow/.../ directory.  Inspecting this
directory shows that Graffiti.Core.dll is present; however, dependent assembly
(Telligent.Registration.dll) has not been copied.

This issue can be worked around by copying the contents of Graffiti/Web/bin to
the temp shadow copy directory while xsp2 is still running.

This bug is present in all previews of Mono 2.0, but works fine in 1.9.1

Exception details:

Server Error in '/' Application
Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Compiler Error Message: : ** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **:
The following assembly referenced from
/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll
could not be loaded:
~/Global.asax
Show Detailed Compiler Output:

gmcs /target:library /debug- /optimize+ /warn:0
/out:"/tmp/jhill-temp-aspnet-0/140396d4/App_global.asax.69a9b51b.dll"
/r:"/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll"
/r:"/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll"
/r:"/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll"
/r:"/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll"
/r:"/usr/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll"
/r:"/usr/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
/r:"/usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/ed334fe6/f23fbf61_1f0cf087_00000001/CookComputing.XmlRpc.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/5b73ad12/447f5d95_1f0cf087_00000001/DataBuddy.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/43840b07/5c88fb80_1f0cf087_00000001/Graffiti.Core.API.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/2adeec24/35d21ca3_1f0cf087_00000001/Graffiti.Web.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/8d49bc46/92454cc1_1f0cf087_00000001/Highlighter.Net.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/bd7fa7bf/a2735738_1f0cf087_00000001/Identicon.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/cd91cc4b/d29d3ccc_1f0cf087_00000001/Joel.Net.Akismet.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/b9a45dc7/a6a8ad40_1f0cf087_00000001/Lucene.Net.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/03b043c1/1cbcb346_1f0cf087_00000001/NVelocity.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/ac223fa2/b32ecf25_1f0cf087_00000001/RssToolkit.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/70f4647e/6ff894f9_1f0cf087_00000001/Telligent.Components.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/acbf055f/b3b3f5d8_1f0cf087_00000001/Telligent.DynamicConfiguration.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/f5a16bd2/eaad9b55_1f0cf087_00000001/Telligent.Glow.Editor.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/89fabcb2/96f64c35_1f0cf087_00000001/Telligent.Glow.MultipleFileUpload.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/3d3c80f5/22307072_1f0cf087_00000001/Telligent.Glow.dll"
/r:"/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/c4606c21/db6c9ca6_1f0cf087_00000001/Telligent.Registration.dll"
  -- "/tmp/jhill-temp-aspnet-0/140396d4/App_global.asax.69a9b51b_0.cs" 


** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **: The following assembly
referenced from
/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll
could not be loaded:
     Assembly:   Telligent.Registration    (assemblyref_index=15)
     Version:    4.0.30225.0
     Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the
MONO_PATH environment variable, or in the location of the executing assembly
(/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001).


** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **: Could not load file or
assembly 'Telligent.Registration, Version=4.0.30225.0, Culture=neutral,
PublicKeyToken=null' or one of its dependencies.

** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **: Missing method .ctor in
assembly
/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll,
type Telligent.Registration.LicensedProductAttribute

** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **: Can't find custom attr
constructor image:
/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll
mtoken: 0x0a000006

** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **: Missing method .ctor in
assembly
/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll,
type Telligent.Registration.LicensedProductAttribute

** (/usr/lib/mono/2.0/gmcs.exe:25223): WARNING **: Can't find custom attr
constructor image:
/tmp/jhill-temp-aspnet-0/140396d4/assembly/shadow/42a1547b/5dada4fc_1f0cf087_00000001/Graffiti.Core.dll
mtoken: 0x0a000006

Unhandled Exception: System.TypeLoadException: A type load exception has
occurred.
  at Mono.CSharp.Driver.LoadReferences () [0x00000] 
  at Mono.CSharp.Driver.Compile () [0x00000] 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] 

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42


-- 
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