Code: Select all
Microsoft.Azure.Storage.StorageException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
en-US is an invalid culture identifier.
---> System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariantMode for more information. (Parameter 'name')
at System.Environment.FailFast(System.String)
< /code>
und um diese Vorschläge zu beheben, sind nur umgekehrt, was ich getan habe, um die invariante Kultur zu beheben (1. Problem). Könnte mir jemand bitte helfen. /Blockquote>
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine3.14
LABEL pipelineName="somedummyapplication" \
pipelineKey="DSENJRNF" \
offeringKey="UQWHCLRA"
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
RUN echo 'http://dl-3.alpinelinux.org/alpine/v3.16/main' >> /etc/apk/repositories
RUN apk upgrade && apk add sqlite && apk add krb5
EXPOSE 5000
ENV ASPNETCORE_URLS=http://*:5000
WORKDIR /app
COPY . /app
USER guest
ENTRYPOINT ["dotnet", "abc.somedummyapplication.dll"]
< /code>
Ich habe diese Links bereits überprüft und versucht, das Problem zu beheben, aber wie ich bereits sagte, wenn ich mich auf ein anderes Problem einlöste, wird ein .NET 6 -Projekt in Docker Globalisierung ausgeführt. . Es konnte kein gültiges ICU -Paket finden, das auf dem System in ASP.net Core 3 - Ubuntu