According to Support and Release Information for the Azure SDK for .NET and API , SDK 2.6 introduced support for .NET 4.6. None of these SDKs explicitly mentions 4.6.2, although the sister article Install .NET for the Cloud Service Role includes a script installation that explicitly installs .NET 4.6.2, implying that it is supported for web / worker roles.
When I tried to upgrade my solution from .NET 4.5.1 (using Azure SDK 2.8) to .NET 4.6.2, I also changed the file RoleProperties.txt, which included the following lines:
TargetFrameWorkVersion=v4.5.1
RoleTargetFramework=v4.5.1
to
TargetFrameWorkVersion=v4.6.2
RoleTargetFramework=v4.6.2
which led to the following error after the call cspack.exe:
Unsupported .Net Framework v4.6.2
I tried to change 4.6.2to simple 4.6and that also failed.
, :
- .NET 4.6.2
cspack.exe? 4.6* 4.5.1, cspack.exe ?