Azure-pipelines-tasks: NuGet Packager tasks failed due to old version

Created on 7 Mar 2017  路  5Comments  路  Source: microsoft/azure-pipelines-tasks

Dear all,

the nuget packager task is failing with the following error:

[error]'System.ComponentModel.EventBasedAsync' already has a dependency defined for 'System.Runtime'.

EventBasedAsync is version 4.3.0 downgrading to 4.0.11 has not solved it.

I found a walkaround by downloading the latest nuget exe before the packaging task and then using this nuget.exe for the package task.
I think is not a good idea if the ci is building multiple times with multiple projects a day.

May you please update the nuget.exe?

Thanks and best regards,
matthias

Most helpful comment

Yes, this is essential. Please add support for this.

All 5 comments

NuGet 3.3 also fails (silently -- it produces the Unsupported0.0 framework) when attempting to pack something with a target of netstandard1.6. Other tasks allow us to choose between 3.5 and 3.3, and the same would be helpful here.

Agreed. NuGet Restore and Publisher tasks allow the choice of NuGet version - NuGet Packager needs to behave the same manner.

Yes, this is essential. Please add support for this.

Yes all 3 nuget tasks should be aligned with regards to nuget version selection.

Duplicate of #3756

Was this page helpful?
0 / 5 - 0 ratings