Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed "dotnet publish" line #1

Open
wants to merge 1 commit into
base: add-db
Choose a base branch
from

Conversation

AgentBelfort
Copy link

@AgentBelfort AgentBelfort commented Dec 10, 2023

While studying Docker Language-specific guides I came across a problem:

=> ERROR [server build 4/5] RUN --mount=type=cache,id=nuget,target=/root/.nuget/packages     dotnet publish -a ${TARGETARCH/amd64/x64} --use-current-runtime --self-contained false -o /app                                  0.5s 

> [server build 4/5] RUN --mount=type=cache,id=nuget,target=/root/.nuget/packages     dotnet publish -a ${TARGETARCH/amd64/x64} --use-current-runtime --self-contained false -o /app:
0.455 MSBuild version 17.3.2+561848881 for .NET
0.456 MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.

failed to solve: process "/bin/sh -c dotnet publish -a ${TARGETARCH/amd64/x64} --use-current-runtime --self-contained false -o /app" did not complete successfully: exit code: 1

This problem was fixed by me and updated in my fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant