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

Build file on solution template #42

Open
vitoladev opened this issue Jul 12, 2021 · 0 comments
Open

Build file on solution template #42

vitoladev opened this issue Jul 12, 2021 · 0 comments

Comments

@vitoladev
Copy link

The template build file on the solution template fails to build if it isn't on the right project.

I think it would be better if the build file specified the right project for the operation, including explicitly the project's path.

Example:

Fails to build (build.sh)

#!/bin/sh
dotnet restore
dotnet build --no-restore
dotnet test  --no-build

Builds the solution correctly (build.sh)

#!/bin/sh
dotnet restore
dotnet build ./src/AppName --no-restore
dotnet test ./tests/AppName.Tests --no-build
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

No branches or pull requests

1 participant