Removed the project refrence so should now work through dll reference.