Does the declaration of the enum must be in the local project?

I have it in another project and i added a namespace to this project
but in the Xaml I got an error the the type of the enum is not
declared.