First, confirm its last-good build configuration (e.g., using Visual Studio on Windows for a desktop application), build it, then fuzz it forward and backward with other versions of the build toolchain (e.g., VS). This will certainly break it, as well as to expose points of fragility for troubleshooting.