NUKE Global Tool 🌐 version 8.0.0 (Windows,.NETCoreApp,Version=v6.0)
Installing dotnet-sonarscanner/6.2.0 to D:\xxx\build_build.csproj ...
[INF] > "C:\Program Files\dotnet\dotnet.exe" restore D:\xxx\build_build.csproj
Done installing dotnet-sonarscanner/6.2.0 to D:\xxx\build_build.csproj
Actual Behavior
NUKE Global Tool 🌐 version 8.0.0 (Windows,.NETCoreApp,Version=v6.0)
Installing dotnet-sonarscanner/6.2.0 to D:\xxx\build_build.csproj ...
[INF] > "C:\Program Files\dotnet\dotnet.exe" restore D:\xxx\build_build.csproj
Sequence contains more than one matching element
Regression?
Probably more linked to the sonarscanner package than nuke.
Known Workarounds
Downgrade to package version 6.1.0 which works fine
Usage Information
NUKE version 8.0.0 / SDK version 8.0.200 / net 8.0 / Win 10 21H2 LTSC
Description
Adding dotnet-sonarscanner fails with this error when targeting version 6.2.0:
Reproduction Steps
nuke :add-package dotnet-sonarscanner --version 6.2.0
Expected Behavior
Actual Behavior
Regression?
Probably more linked to the sonarscanner package than nuke.
Known Workarounds
Downgrade to package version 6.1.0 which works fine
Could you help with a pull-request?
No