C
C#16mo 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
EsaOP16mo 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
SinFluxx16mo ago
$close
MODiX
MODiX16mo ago
Use the /close command to mark a forum thread as answered
Accord
Accord16mo 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.
Want results from more Discord servers?
Add your server