Namespace is not declared error when calling a static class from imported .dll

code
studio
namespace

#1

I’ve created a static class in c# and created a custom package with the desired dll inside but when I try to run the Invoke code activity I get the following error

.

The code inside the invoke code is simply :

Any help would be appreciated.