Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS2044
/sourcelink switch is only supported when emitting Portable PDB (/debug:portable or /debug:embedded must be specified).