[Mono-devel-list] Bootstrap net_2_0 fails on Windows

Atsushi Eno atsushi at ximian.com
Mon Jun 20 04:37:52 EDT 2005


Hi,

I got the same result. It does not reproduce when I built mcs
default profile with MCS=mcs, so something is wrong with
attribute resolution where the assembly of the attribute is
compiled by csc. (BTW that would be why Paco had no problem
on building win32 package since he uses mcs to build them).

For now the workaround is

	- run make under mcs (to build default profile)
	- run make under mono

The breakage seems to happen between 46034 (works fine) and
46041 (broken). Martin, any ideas why this happens?

Atsushi Eno


Gert Driesen wrote:
> Hi,
> 
> Apparently the bootstrap of the 2.0 profile is broken on Windows (at least
> it is on my system):
> 
> ** (../../class/lib/default/mcs.exe:2672): WARNING **: Cannot load type
> 'System.ComponentModel.Design.IDesigner'
> 
> Unhandled Exception: System.NullReferenceException: Object reference not set
> toan instance of an object
> in <0x00010> System.ComponentModel.DesignerAttribute:.ctor (System.String
> designerTypeName, System.Type designerBaseType)
> in <0x00000> <unknown method>
> in (wrapper managed-to-native)
> System.MonoCustomAttrs:GetCustomAttributesInternal
> (System.Reflection.ICustomAttributeProvider,bool)
> in <0x0000d> System.MonoCustomAttrs:GetCustomAttributesBase
> (ICustomAttributeProvider obj)
> in <0x0001a> System.MonoCustomAttrs:GetCustomAttributes
> (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit)
> in <0x0001a> System.MonoType:GetCustomAttributes (System.Type attributeType,
> Boolean inherit)
> in <0x0003d> Mono.CSharp.AttributeTester:AnalyzeTypeCompliance (System.Type
> type)
> in <0x000e0> Mono.CSharp.AttributeTester:IsClsCompliant (System.Type type)
> in <0x000b0> Mono.CSharp.AttributeTester:VerifyTopLevelNameClsCompliance ()
> in <0x00b91> Mono.CSharp.Driver:MainDriver (System.String[] args)
> in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)
> make[8]: *** [../../class/lib/net_2_0_bootstrap/System.Xml.dll] Error 1
> make[8]: Leaving directory
> `/cygdrive/d/projects/mono/head/mcs/class/System.XML'
> 
> Any idea what might be causing this ?
> 
> I have no problem bootstrapping on Linux.
> 
> Thanks !
> 
> Gert
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 





More information about the Mono-devel-list mailing list