none
Serialization primitives conflict

    Question

  • I need to pack the DataAccess layer (that includes ADLS) into a NuGet distribution, but I get the following error:

    'Microsoft.Azure.Management.DataLake.Store' already has a dependency defined for 'System.Runtime.Serialization.Primitives'.

    I am using SQL, AzureStorage as other sources. How can I found the dependency that is invalid and is there a way to add "constrains"? Why it builds and runs fine as a source project but chokes when creating the NuGet?

    Thanks

    Wednesday, December 14, 2016 4:51 PM

Answers

  • Found the issue:

    the VSTS version of nuget used in the packaging step (3.3.0) has a bug - later versions of nuget pack the project just fine (as I observed on my machine) ... I was able to hack the nuget package build step to use a later version of nuget

    • Marked as answer by Uri Kluk Thursday, December 15, 2016 2:02 PM
    Thursday, December 15, 2016 2:02 PM