Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Worker Role compatibillity with .Net 4.5.2

In visual studio (with Azure SDK 2.2 and 2.3 installed) I am getting an error trying to run an Azure Worker Role:

The role X is using an unsupported TargetFrameworkVersion v4.5.2

Should I be getting this with the latest SDK? Is there a date for when compatibility will be provided?

like image 406
oatsoda Avatar asked Jun 05 '14 07:06

oatsoda


1 Answers

Azure SDK 2.6 only allows you to build the .NET 4.5.2 package. You still need to add a startup script and manually install the framework.

See for now: https://azure.microsoft.com/en-us/documentation/articles/cloud-services-dotnet-install-dotnet/

UPDATE APRIL 2015

Use Azure 2.6 SDK (3)

With Azure SDK 2.6 you can develop cloud service applications (PaaS) targeting .NET 4.5.2 or .NET 4.6 provided that you manually install the target .NET Framework on the Cloud Service Role. See Install .NET on a Cloud Service Role.

UPDATE NOV 2014

They did not add support in SDK 2.5.

Using Azure SDK version 2.5 you can develop IaaS applications targeting .NET Framework 4.5.2 or .NET Framework 4.5.3, provided that you install the target .NET Framework on the Azure virtual machines that run them. .NET Framework 4.5.1 is the most recent supported target framework for PaaS applications developed using this version of the SDK (2)

This was supposed to be released today with 2.5 SDK (1)

At currently, we couldn't create and deploy azure cloud service using .net 4.5.2, this will be supported when azure sdk 2.5 released.

However it still fails to package even with 2.5 installed.

(1) https://social.msdn.microsoft.com/Forums/azure/en-US/9eab0cd9-c312-4901-95e6-5df2a29f7135/how-to-build-and-deploy-web-or-worker-roles-using-net-452?forum=windowsazuredevelopment

(2) http://msdn.microsoft.com/en-us/library/azure/dn873976.aspx

(3) http://azure.microsoft.com/en-gb/documentation/articles/azure-sdk-dotnet-release-notes-2_6/

like image 186
artfulhacker Avatar answered Dec 29 '22 08:12

artfulhacker