new to c#: terraria struggles
can't seem to get a folder into a namespace, can someone help?
9 Replies
what do you mean by get a folder into a namespace
they're different concepts
specifically when i add projectiles i get the error saying this
projectiles is the folder i am refrencing
largely unrelated
this is what i get
but it's right here
Again, namespaces and folders are not equivalent
Just because the
.cs
file is in that folder doesn't mean it's in the namespace
You could have 100 different folders on 10 different levels in your project and everything could still be in the same namespace
You need to look in the KaiserRaiserSword.cs
file and make sure that the classes defined within it are in the astrallogarium.Content.Projectiles
namespace
Just like the KaiserRaiser
class is in the astrallogarium.Content.Items
namespaceoh
i forgot to define it in the other thing
wowe
i feel really really dumb rn