Showing posts with label Pearls. Show all posts
Showing posts with label Pearls. Show all posts

2025-05-16

Source file pathnames in MSBuild projects

PEARL: The source file pathnames that the compiler generates via the CallerFileName attribute (and also wrtes in .pdb files, a.k.a. symbol files) are absolute pathnames, meaning that they start from the drive letter, and they include the path to the developer's home folder and the kitchen sink.

This causes the following problems: