Operation is not supported on this platform

BradJeong 0 Reputation points
2023-07-31T04:33:44.11+00:00

NetFramework only still has some useful functions. NetCore(x), NetStandard(x) or NET(x) has no functions though.
It makes us it hard to get from NetFramework, NetCore or NetStandart to NET7.

Hope all useful functions move to NET6,7,8.

Thanks in advance.

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | .NET MAUI
Developer technologies | .NET | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
    2023-08-01T17:02:17.89+00:00

    the "Operation is not supported on this platform" error means the function was ported to .net core, but requires O/S support and was not implemented on the selected build target platform. This is most common when the platform is not windows. This is why it's a runtime error.

    generally there are better cross platform solutions than the selected method.

    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.