Open rpopovych opened 2 years ago
@rpopovych Hi got same error When trying to run under the docker container with .NET 5 I get
Did you manage to find solution?
@rpopovych The workaround I found is to install 3.1 runtime in the container. Add this to your dockerfile
COPY --from=mcr.microsoft.com/dotnet/runtime:3.1.31-buster-slim /usr/share/dotnet/shared /usr/share/dotnet/shared
When using RH library in .NET 5/6, the following error happens:
The issue is here: https://github.com/chucknorris/roundhouse/blob/0f17f6967a1b3a5bb1d1b63f3574a7e8ba3e1294/product/roundhouse.core/infrastructure/filesystem/DotNetFileSystemAccess.cs#L20
There is handing for Mono & .NET Core, but with .NET 5 the
Core
naming has been dropped.I see this deliberation here, but has anyone tried to at least support use of libraries in .NET 6? I don't believe that would require upgrading the project to .NET 6 and it might be just this one place to fix.
.NET 3.1 End of Support is at the end of 2022: https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core