0

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.

Ajn
  • 573
  • 3
  • 8
  • 18

1 Answers1

1

Are your Cloud Service worker role deploy on Guest OS Family 5 series?

Only OS Family 5 series able to support .NET Framework 4.6.2.

Azure Guest OS releases and SDK compatibility matrix

juvchan
  • 6,113
  • 2
  • 22
  • 35