Missing method in assembly "System.Memory" in an UWP App

  .net-assembly, c++, uwp, windows

I have a very odd issue that appeared randomly on my Universal Windows App Project.

The project compiles successfully, but I get a lot of warnings about missing methods in the assembly ‘System.Memory’.

I tried to reinstall the Windows SDK and the .NET SDK, but no satisfying result was obtained.

I would be happy if anyone could have the solution, thanks in advance.

Source: Windows Questions