Hi,
I get this error on a windows container. with .NET Core 3.1
I use .NET Core 3.1 also I use this package
<PackageReference Include="GleamTech.DocumentUltimate" Version="5.9.7" />
and I will publish on MS Azure
dockerfile
Because there is the last answer in the above article,
I tried this lines adding and deleting, and I tried several times, but the error still occurs.
USER ContainerAdministrator
RUN mkdir Windows\Temp\GleamTech
RUN icacls C:\Windows\Temp\GleamTech /grant "BUILTIN\USERS:(OI)(CI)F" /t
I can't solve this error because I don't know what kind of dependency "PorableEngine.Native.dll" is causing the problem.
Actually, the DocumentUltimate itself seems to load well. (The log is well marked) But after loading it, that error message seems to appear.
Already through DocumentUltimateConfiguration.CheckPlatformSupport method, the following result is obtained. (in windows container)
{
"documentViewer": true,
"portableEngine": true,
"cadEngine": false
}
In .NET Core 3.1 linux container, it all came out as false.
Is there no way to open DocumentUltimate with .net core 3.1 windows container?
.net framework is meaningless because the image size is too large
This is the content I wanted to dockerize with .net core.
I don't use IIS inside container.
Here is my dockerfile
FROM mcr.microsoft.com/dotnet/aspnet:3.1-nanoserver-1809
WORKDIR /app
ARG CORE_ENV
ARG CORE_PORT
EXPOSE ${CORE_PORT}
ENV ASPNETCORE_ENVIRONMENT=${CORE_ENV}
COPY . /app
ENTRYPOINT ["dotnet", "document-viewer.dll"]
I already publish project before docker build.
when docker build, append the build arguments options
--build-arg CORE_ENV=Production --build-arg CORE_PORT=80
thank you!