Every now and then I’ll find that Visual Studio just blows up – seemingly without me having changed anything – throwing the error:
A numeric comparison was attempted on "$(TargetPlatformVersion)" that evaluates to "" instead of a number, in condition "'$(TargetPlatformVersion)' > '8.0'".
Where the number at the end changes every so often.
How to fix this? Annoyingly simple.
Hope that saves you a few hours..!