Skip to content

NuGet restore for .NET 6 Android project seems to ignore fallback frameworks #3674

Answered by augustoproiete
leonluc-dev asked this question in Q&A
Discussion options

You must be logged in to vote

Under the hood, Cake is calling dotnet build as well, so there shouldn't be any difference between you calling dotnet build directly or Cake calling it via DotNetCoreBuild.

If you run Cake with the argument --settings_showprocesscommandline=true you can see exactly the dotnet build command-line being executed, and that might give you some clues as to what's different.

e.g.

dotnet cake --settings_showprocesscommandline=true

Otherwise, if you can put together a reproducible example, that would help troubleshoot this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@leonluc-dev
Comment options

Answer selected by leonluc-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3670 on November 06, 2021 18:09.