Answered by:
When will Azure HPC scheduler accept .Net 4?

Question
-
Hi, there's currently a restriction on running only .net 3.5 code on Azure hpc workers. When will this be lifted in favour of .Net 4?
Andy
Dr Andy Edmonds, Scientio LLCSaturday, January 14, 2012 7:20 PM
Answers
-
.Net 4 applicatoin should run on worker role. There is nothing to stop you from running a .net 4 applicatoin as a hpc task. If you are running a HPC SOA service, it's also possible to redirect the framework to 4.0.
- Marked as answer by Don Pattee Friday, August 10, 2012 11:47 PM
Tuesday, January 17, 2012 3:19 PM
All replies
-
.Net 4 applicatoin should run on worker role. There is nothing to stop you from running a .net 4 applicatoin as a hpc task. If you are running a HPC SOA service, it's also possible to redirect the framework to 4.0.
- Marked as answer by Don Pattee Friday, August 10, 2012 11:47 PM
Tuesday, January 17, 2012 3:19 PM -
Hello Yidingz, Don
When i tried using a SOA service in .net 4.0, I got the below error.
Could not load file or assembly 'file:///C:\Resources\directory\dd45f9b60b2740b7861cb3bbee835bf4.ComputeNode.Microsoft.Hpc.Azure.LocalStorage.Application\HelloWorld\2012-10-19T103259.0000000Z\HelloWorldAzure.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Is .NET 4.0 currently supported?
Thanks!
Piyush
Friday, October 19, 2012 10:48 AM -
Yes, you can use .net 4.0. Just update HpcServicehost.exe.config and force loading .net 4.0.
- Proposed as answer by Piyush-Jain Monday, October 22, 2012 5:46 AM
Friday, October 19, 2012 2:03 PM -
Thank you Yidingz.Monday, October 22, 2012 5:47 AM