[Mono-list] How to diagnose a Error CS0584: Internal compiler error: Could not import type

Andres G. Aragoneses knocte at gmail.com
Fri Dec 14 09:24:48 UTC 2012


On 14/12/12 06:29, Jean-Michel.Perraud at csiro.au wrote:
> Hi,
>
> I fail to compile an assembly with the error below.
>
> DataThreshold.cs(24,24): Error CS0584: Internal compiler error: Could not import type `TIME.DataTypes.Raster' from `TIME, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' (CS0584) (TIME.Tools)
>
> The type "TIME.DataTypes.Raster" is substantial and I cannot yet reproduce with a small subset; I am seeking advice on how to diagnose the issue more precisely.
>
> I get the error whether the compiled, dependent assembly TIME.dll is copied from a visual studio build, or whether  it is recompiled with MonoDevelop on a Linux box. Mono version information flollow. All assemblies target the CLR 4.0 with AnyCPU
>
> Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-5)
> Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
> 	TLS:           __thread
> 	SIGSEGV:       altstack
> 	Notifications: epoll
> 	Architecture:  amd64
> 	Disabled:      none
> 	Misc:          softdebug
> 	LLVM:          supported, not enabled.
> 	GC:            Included Boehm (with typed GC and Parallel Mark)
>

Try with Mono 3.x, its compiler has received a lot of improvements.





More information about the Mono-list mailing list