.NET publish fails during package restore
A build step failed (exit code 1). The full output is in the deploy log.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen1 times
WhereASP.NET
StatusIn AnalysisOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
dotnet publish failed while restoring packages. For projects that set TreatWarningsAsErrors, NuGet's vulnerability warnings for packages in the lock file stop the restore. The NU19xx or NU1301 lines in the deploy log name the cause.
What the log looks like
Deploy log
#11 ERROR: process "/bin/sh -c dotnet publish 'Flink/Flink.csproj' -p:SolutionDir=\"$PWD/\" -c Release -o out --nologo" did not complete successfully: exit code: 1WARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-treepanelalpha.Dockerfile:10--------------------8 | ENV DOTNET_NOLOGO=19 | ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=110 | >>> RUN dotnet publish 'Flink/Flink.csproj' -p:SolutionDir="$PWD/" -c Release -o out --nologo11 |12 | FROM mcr.microsoft.com/dotnet/aspnet:10.0---------…