I am trying to include worker role project targeting .NET 4.6.2 in my CloudService project which is on Azure 2.8. Upon building the CloudService project, I get the below error :
Error The role Role1 is using an unsupported TargetFrameworkVersion v4.6.2. CloudService CloudService\objd\amd64\ServiceDefinition.csdef 1
Error The role Role2 is using an unsupported TargetFrameworkVersion v4.6.2. CloudService CloudService\objd\amd64\ServiceDefinition.csdef 1
I also tried installing Azure 2.9.6 but couldn't get rid of this error.
Any pointers on this would be appreciated.Thanks.