Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS7007
A 'using static' directive can only be applied to types; '{0}' is a namespace not a type. Consider a 'using namespace' directive instead