Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS2045
/embed switch is only supported when emitting Portable PDB (/debug:portable or /debug:embedded).