I upgraded my project from Azure 1.8 to Azure 2.3 (and from VS2012 to VS2013). My source compiles and runs in the Azure emulator but when the TFS builder tries to compile it throws this error: (I get the same error doing a "package" from the cloud project context menu)
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.3\Microsoft.WindowsAzure.targets (2016): A numeric comparison was attempted on "%(TargetOSFamily.Identity)" that evaluates to "" instead of a number, in condition " '$(RoleTargetFrameworkMonikerIsValid)' == 'True' And '%(TargetOSFamily.Identity)' >= '3' And '$(RoleTargetFrameWorkIs35)' == 'True' ".
I have set the osFamily="4", etc. but nothing has changed.