Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS7011
#r is only allowed in scripts