Forums

error: Cannot read CLR type

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

error: Cannot read CLR type

Postby kobi7 » Sat Feb 08, 2014 6:20 am

/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
Falun Dafa is Good.
Truth, Compassion, Forbearance is Good.
kobi7
 
Posts: 82
Location: Israel

Re: error: Cannot read CLR type

Postby hopscc » Sun Feb 09, 2014 5:09 am

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
hopscc
 
Posts: 631
Location: New Plymouth, Taranaki, New Zealand


Return to Discussion

Who is online

Users browsing this forum: No registered users and 4 guests

cron