Error: The type or namespace name 'Logic' does not exist in the namespace 'Game.Logic.AI.Game'

Asked

Viewed 62 times

0

Error 12 The type or namespace name 'Logic' does not exist in the namespace 'Game.Logic.AI.Game' (are you Missing an Assembly Reference?)

How can I solve it? I already have a project called Game.Logic and my code is like this:

  namespace Game.Logic.AI.Game
{
    using Game.Logic.AI;

    public class GControl0 : APVEGameControl
    {
        public static readonly GControl0 Simple = new GControl0();
    }
}
  • using Game.Logic.AI; comes before namespace .

  • I thought the same thing @Marconciliosouza, but this is not necessary. The way the question is right.

  • 1

    Vinicius, you referenced the project Game.Logic in this project?

  • @jbueno, it can use a reference from one to Assembly and continue using the same namespace? .... namespace Game.Logic.AI ... using Game.Logic.AI;

  • @This I don’t know anymore. I’m talking about declaring the using after the namespace.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.