use -r only for android build

This commit is contained in:
Paul Schneider 2026-06-07 12:41:59 +01:00
commit eb5f0eb2cd

View file

@ -38,9 +38,9 @@ COPY . .
ARG ANDROID_TARGET_RID=android-arm64
# 6. Compilation du serveur Web principal, Injecter l'option -r avec la variable
RUN dotnet build src/Yavsc.Org/Yavsc.Org.csproj -c Release --no-restore -clp:ErrorsOnly -r ${TARGET_RID}
RUN dotnet build src/Yavsc.Api/Yavsc.Api.csproj -c Release --no-restore -clp:ErrorsOnly -r ${TARGET_RID}
RUN dotnet build src/Yavsc.Blogs/Yavsc.Blogs.csproj -c Release --no-restore -clp:ErrorsOnly -r ${ANDROID_TARGET_RID}
RUN dotnet build src/Yavsc.Org/Yavsc.Org.csproj -c Release --no-restore -clp:ErrorsOnly
RUN dotnet build src/Yavsc.Api/Yavsc.Api.csproj -c Release --no-restore -clp:ErrorsOnly
RUN dotnet build src/Yavsc.Blogs/Yavsc.Blogs.csproj -c Release --no-restore -clp:ErrorsOnly
# 6. Compilation du serveur Web principal Injecter l'option -r avec la variable
RUN dotnet build src/PostIt/PostIt.Android/PostIt.Android.csproj -c Release --no-restore -clp:ErrorsOnly -r ${TARGET_RID}