C#C
C#3y ago
Hercules

❔ My web api works fine when i run it from VS but i can't publish it?

I have an web api project that work perfectly fine and as expected but when im trying to create an image or containerize it i keep getting errors when i try to publish the .csproj file.

With this following command
RUN dotnet publish "./Api.csproj" -c Release -o out


Error message that displays is in the screenshot
image.png
Was this page helpful?