Microsoft.HPC.SDK for Net 5.0

Alessio Bellix 11 Reputation points
2021-06-29T11:15:36.377+00:00

Hello
I have to manage an on premises HPC cluster and I was thinking of using Microsoft HPC.
However the latest version of the SDK does not seem to be supported by .NET 5.0.
When I add the nuget package to my project I get this warning:

warning NU1701: Package 'Microsoft.HPC.SDK 6.0.7205' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net5.0'. This package may not be fully compatible with your project.

Of course Exceptions occur while using the library. For example, calling the method ConnectServiceAsClient on the Scheduler an exception gets raised as Microsoft.Threading.Tasks, Version 1.0.12.0 cannot be found.

Any workaround for this? Does anyone know if an update is planned?

Thank you.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,000 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. vipullag-MSFT 26,391 Reputation points
    2021-07-02T10:24:00.57+00:00

    @Alessio Bellix

    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    I reached out to internal team on this, and team has confirmed that as of now there are have no plan to update the SDK for .Net 5. Product team has added this ask as backlog for future major updates.

    Hope this helps.

    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.


  2. Alessio Bellix 11 Reputation points
    2021-07-07T12:34:03.877+00:00

    Considering the team has no plans for upgrades, would it be considered to release the code as an open source project so the community could take care of it?


  3. Nikita Tropin 1 Reputation point
    2024-07-18T14:19:47.02+00:00

    I noticed that Microsoft.HPC.SDK NuGet since 6.3 beta version supports .Net Standard 2.0. So I guess Microsoft now decided to convert Microsoft HPC to new .NET.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.