Azure Batch Launching .net 4.5.1 Machines Even Though OS Family Set to 4 (Supports .NET 4.0, 4.5, 4.5.1, 4.5.2 (Note 2))
Category: azure batch
Kayhustle11 on Sun, 08 Nov 2015 21:27:21
I am trying to run Azure Batch tasks and I noticed that whenever I would run my tasks, it would finish as Completed but the task never really ran. When I checked my stdout.txt and stdout.err files they were empty. There was no indication from the framework that an error had occured or what the error was. When I logged into the compute nodes I noticed the event logs were lighting up with errors saying that my app is .net 4.5.2 and that it only has .net 4.0 installed. I checked my OS family and saw that I was using 4. I then checked to see which version of the .net framework was installed and saw that it was version 4.5.1 installed. Isnt OS Family 4 supposed to have version 4.5.2 installed according to the following link:
Anybody know what is going on?
Matthew Christopher on Tue, 10 Nov 2015 01:32:54
It looks like according to the page you linked to, 4.5.2 needs to be manually installed.
Hope that helps,
Kayhustle11 on Tue, 10 Nov 2015 02:37:07
Thanks. I'll just build my app for 4.5.1. Would be too cumbersome to log into all my vms and do that every time I need to run a batch.