We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi.
Thank you for ADotNet.
DotNetBuildTask always specifies --no-restore.
--no-restore
This requires the pipeline to explicitly call RestoreTask if the project/solution being built references any nuget packages.
RestoreTask
I expected DotNetBuildTask to make restoring nuget packages optional.
DotNetBuildTask
Thank you.
The text was updated successfully, but these errors were encountered:
@icnocop the default is dotnet build --no-restore when you do:
dotnet build --no-restore
new DotNetBuildTask { Name = "Build", },
You can however override this behaviour by doing:
new DotNetBuildTask { Name = "Build", Run = "dotnet build" },
Hope this helps
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hi.
Thank you for ADotNet.
DotNetBuildTask always specifies
--no-restore
.This requires the pipeline to explicitly call
RestoreTask
if the project/solution being built references any nuget packages.I expected
DotNetBuildTask
to make restoring nuget packages optional.Thank you.
The text was updated successfully, but these errors were encountered: