Stuck at the first code line of the terrarium...

I made the code according to the tutorial, however when I load I get the error message that animal.myanimal cannot be found in the assembly.

Can someone please check what I am doing wrong since I would like to be able to play the terrarium game but now I can't even program 1 actionTongue Tied.

edit at some code it said:

Answer this question

Stuck at the first code line of the terrarium...

  • Pengos

    First, did you clear the default namespace, per the comments at the top of the file

    The project must have its default namespace cleared in the project properties

    Second, it doesn't look like "MyAnimal" is in the "Animal" namespace, it looks like it's in the root namespace. Therefore, the line should state...

    <Assembly: OrganismClass("MyAnimal")>

    Hope this helps!



  • Dynamo

    I assume you're using VS 2003.  If not, what are you using   If so, there should be a setting in the project's properties called "Root Namespace", or something like that.  By default, it is set to the name of your project.  When you find it, delete it so that there is no root namespace.  Alternatively, you can change the 

    <Assembly: OrganismClass("Animal.MyAnimal")>

    line with

    <Assembly: OrganismClass("[ProjectName].MyAnimal")>

    where [ProjectName] is the name of your project.



  • Parpudi

    I have no idea what the author meant by that since I cannot find a property named default or namespace...

    I know tried this:

    The class hould be ok now (VBAnimal.Creature then I name the Class file in the project Creature)

    However still errors, still don't know what is meant by that clearing part.


  • Stuck at the first code line of the terrarium...