OpenTapPackageReference fails on clean builds for WPF projects
WPF projects generate intermediate files, and the task collecting .dll references from the <OpenTapPackageReference ../> element is not running correctly for those generated files, leading to references not being resolved. This only affects the first build because the references are cached in an intermediate file, and are referenced differently on subsequent builds.