When I got this error I just restarted Visual Studio and the error went away.
Please note, when I did restart the project did initially load, but I just right clicked and hit reload target and it did.
문제
I'm trying to install Nokia Imaging SDK via NUGET under Visual Studio 2013 at my Windows Phone 8 project but every time I'm getting the following error:
A numeric comparison was attempted on "$(TargetPlatformVersion)" that evaluates to "" instead of a number, in condition "'$(TargetPlatformVersion)' > '8.0'". C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets
해결책
When I got this error I just restarted Visual Studio and the error went away.
Please note, when I did restart the project did initially load, but I just right clicked and hit reload target and it did.
다른 팁
If you have ReSharper installed it sounds like it could be this bug. This effected version 8.2 and has been fixed in build version 8.2.0.3169 and onwards.