title: DllImport("msvcrt.dll") not working when it runs on linux
body: <p>I want to compare 2 bytes array using memcmp function using below code</p>
  <pre><code>[DllImport(&quot;msvcrt.dll&quot;,EntryPoint = &quot;memcmp&quot;, CallingConvention = CallingConvention.Cdecl)]
    static extern int memcmp(byte[] b1, byte[] b2, long count);
  </code></pre>
  <p>When I run my application on Windows it is working fine. But when I run it on Linux it giving below exception</p>
  <blockquote>
  <p>Unable to load shared library 'msvcrt.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libmsvcrt.dll: cannot open shared object file: No such file or directory</p>
  </blockquote>
  <p>Below is the docker file</p>
  <pre><code>FROM microsoft/dotnet:2.2-sdk AS build-env
  WORKDIR /app
  
  COPY *.csproj ./
  COPY NuGet.Config ./
  RUN dotnet restore
  
  # copy everything else and build
  COPY . ./
  
  RUN dotnet publish -c Release -o out
  
  # build runtime image
  FROM microsoft/dotnet:2.2-runtime
  
  WORKDIR /app
  COPY --from=build-env /app/out .
  
  ENTRYPOINT [&quot;dotnet&quot;, &quot;XXX.dll&quot;, &quot;YYY.dll&quot;]
  </code></pre>
  <p>Please let me know what should I use?</p>