Page 1 of 1

error: Cannot read CLR type

PostPosted: Sat Feb 08, 2014 6:20 am
by kobi7
/home/kobi/Eto/empty)(0,0): Error: Cannot read CLR type "Eto.Forms.Window" or its assembly "Eto, Version=1.2.1.0, Culture=neutral, PublicKeyToken=null". Please report to the Cobra discussion forums (http://cobra-language.com/). (Eto)

This is using Eto.Forms gui library
https://github.com/picoe/Eto

Re: error: Cannot read CLR type

PostPosted: Sun Feb 09, 2014 5:09 am
by hopscc
Do you have a 'use' clause for Eto in your app (not necessary if using fully qualified name) or a cmdline -ref spec for the Eto dll somewhere in your build line ( needed if not giving a use directive) ?

This error comes from a search for the type in the current namespace failing
# since the CLR type exists, but cannot be located in our namespaces,
# it must be pulled from a dependent DLL that was not directly referenced