Getting no such file or directory when publishing self-contained app as container #54156
Replies: 1 comment
-
Got some help and it turns out that it was just replacing <ContainerRuntimeIdentifier>linux-x64</ContainerRuntimeIdentifier> with <RuntimeIdentifier>linux-x64</RuntimeIdentifier> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With these properties in my csproj are:
And this command line to build the image:
I'm getting this, when I run the container,:
If try to start it explicitly from inside the container, I get this:
The same set of files runs fine from WSL, but I have .NET 8.0 on my WSL installation.
A simple project also runs fine self-contained.
How can I find what's missing?
Beta Was this translation helpful? Give feedback.
All reactions