Failing to build image when attempt to run dotnet publish #5434
-
Hi, I am quite new to .NET ,so I am still figuring out its docker environment, but based on the error log I am not entirely sure if it has to do with my project config or Dockerfile config. Here is the error log when attempt to build the image:
if you require more context , I can provide, btw this is running on older version , .NET 6.0 and its web api, I have tried few samples of the dockerfiles and the default given by Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Can you share what |
Beta Was this translation helpful? Give feedback.
Can you share what
/source/SERVICESPORTAL.csproj
looks like? Per the error it appears to have a syntax error caused by a malformedif
statement.