C
C#11mo ago
Esa

❔ ✅ Schrödinger's errors (errors in build but not compile)

Hi! I have recently replaced 9 binaries in a project of mine. These binaries are modules of a larger application that just had a v1.3.0 => 1.4.0 patch increase, so I'd assume most functionality in most of these to be unchanged. However, after I did that I saw no errors in my IDE. It usually scans and finds compile time errors as we code, right? so I click build and am hit with 128 errors and 36 warnings. Then I think "ok cool better get to work" and am ready to see these errors in my IDE, but... still 0 errors. why is that? Anybodys seen anything similar? I've tested in both visual studio and Rider.
4 Replies
Esa
Esa11mo ago
I see this in the build output in visual studio, but I've no idea what it means (the suppression state image) Found the error. The binaries were targeting netfx48 whereas my code was still on netfx472, so it was unable to generate these errors before build time or something.. changing target platform in my code solved it. !solved
SinFluxx
SinFluxx11mo ago
$close
MODiX
MODiX11mo ago
Use the /close command to mark a forum thread as answered
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.