title: How to solve rider docker debugging issue
body: <p>So i have a .net core 3.1 web api project which i developed on visual studio. I have now switched to rider and i get an error when trying to debug the application. I can run the app it build and runs fine in a local docker container.</p>
  
  <p>When i press the debug button i get the following error:</p>
  
  <pre><code>Unhandled Exception:
  System.IO.FileNotFoundException: Could not load file or assembly 'JetBrains.Platform.Core, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' or one of its dependencies.
  File name: 'JetBrains.Platform.Core, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325'
  [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'JetBrains.Platform.Core, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' or one of its dependencies.
  File name: 'JetBrains.Platform.Core, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325'
  </code></pre>
  
  <p><strong>What causes this error and how can i solve it?</strong></p>
  
  <p>Additional info:</p>
  
  <p>Dockerfile:</p>
  
  <pre><code>#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
  
  FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base
  WORKDIR /app
  EXPOSE 80
  EXPOSE 443
  
  FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
  WORKDIR /src
  COPY ["Niverobot.WebApi/Niverobot.WebApi.csproj", "Niverobot.WebApi/"]
  COPY ["Niverobot.Domain/Niverobot.Domain.csproj", "Niverobot.Domain/"]
  RUN dotnet restore "Niverobot.WebApi/Niverobot.WebApi.csproj"
  COPY . .
  WORKDIR "/src/Niverobot.WebApi"
  RUN dotnet build "Niverobot.WebApi.csproj" -c Release -o /app/build
  
  FROM build AS publish
  RUN dotnet publish "Niverobot.WebApi.csproj" -c Release -o /app/publish
  
  FROM base AS final
  WORKDIR /app
  COPY --from=publish /app/publish .
  ENTRYPOINT ["dotnet", "Niverobot.WebApi.dll"]
  </code></pre>
  
  <p>Run config in rider:<a href="https://i.stack.imgur.com/4oNUD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4oNUD.png" alt="Rider run config"></a></p>