NuGet restore for .NET 6 Android project seems to ignore fallback frameworks #3674
-
Prerequisites
Cake runnerCake .NET Tool Cake version1.3.0 Operating systemWindows Operating system architecture64-Bit CI ServerNo response What are you seeing?I have .NET 6 project targeting
What is expected?The net6.0-android target supports monodroid packages and NuGet is supposed restore them appropriately. Steps to Reproduce
Output logNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Under the hood, Cake is calling If you run Cake with the argument e.g. dotnet cake --settings_showprocesscommandline=true Otherwise, if you can put together a reproducible example, that would help troubleshoot this. |
Beta Was this translation helpful? Give feedback.
Under the hood, Cake is calling
dotnet build
as well, so there shouldn't be any difference between you callingdotnet build
directly or Cake calling it viaDotNetCoreBuild
.If you run Cake with the argument
--settings_showprocesscommandline=true
you can see exactly thedotnet build
command-line being executed, and that might give you some clues as to what's different.e.g.
Otherwise, if you can put together a reproducible example, that would help troubleshoot this.