Skip to content

BindingRedirects uses an older version when FSharp.Azure.StorageTypeProvider is referenced #421

Closed

Description

@TWith2Sugars
No description provided.

Activity

  1. isaacabraham commented on Dec 4, 2014

    @isaacabraham
    Contributor

    I suspect that this is actually an issue with the Azure Storage Type Provider. The Storage TP doesn't reference the Azure Storage SDK via Nuget, it bundles specific versions of the Azure SDK directly in its own package.

    What do the binding redirects look like in your config file?

  2. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    I already have a reference to Microsoft.WindowsAzure.Storage via Microsoft.Azure.WenJobs

    They used to be
    <bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" />

    but are now
    <bindingRedirect oldVersion="0.0.0.0-3.0.2.0" newVersion="3.0.2.0" />

  3. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    BTW the binding redirects affect the files that are listed in the Storage TP nuspec

  4. isaacabraham commented on Dec 4, 2014

    @isaacabraham
    Contributor

    I assume WebJobs has a dependency on 4.3.0.0... so you have now pulled in the Storage TP and it's gone back to 3.0.2.0.

    What do you mean by "affects the files that are listed..."?

  5. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    Yeah WebJobs has a dependency on 4.3.0.0.

    The binding redirect problem happens to all files listed in the Storage TP nuspec: https://github.com/isaacabraham/AzureStorageTypeProvider/blob/master/build.fsx#L92-L95

    It picks up their version rather than the paket.lock version.

  6. isaacabraham commented on Dec 4, 2014

    @isaacabraham
    Contributor

    Mmmmm. As far as Nuget is concerned those files are just files, there's no dependency in the nuspec file as far as I remember. So I'm not sure why paket is pulling up those dlls as versioned dependencies. @forki?

  7. forki commented on Dec 4, 2014

    @forki
    Member

    no really sure I understand the question

  8. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    When the binding redirect happens as part of the install it picks the version listed in the Storage TP nuspec rather than the version form the paket.lock/packages

  9. forki commented on Dec 4, 2014

    @forki
    Member

    is there a way to reproduce this?

  10. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    Want me to throw up a quick git repo to show this?

  11. isaacabraham commented on Dec 4, 2014

    @isaacabraham
    Contributor

    Is there actually a version in the Storage TP nuspec? I'm surprised - there probably shouldn't be, as it doesn't even use nuget for the dependencies.

  12. isaacabraham commented on Dec 4, 2014

    @isaacabraham
    Contributor

    @TWith2Sugars yes that would be helpful.

  13. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    The files in the StorageTP nupkg are offending versions :)

  14. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    I'm unable to recreate this in a clean project and now it's behaving nicely after cleaning up bin/obj folders in my existing project.

    I'm putting this down as a one off weird occurrence.

  15. isaacabraham commented on Dec 4, 2014

    @isaacabraham
    Contributor

    This might have occurred if you had an old version of the Azure Storage Type Provider as it used to work with nuget dependencies but I removed them when I got to v1.0.

  16. TWith2Sugars commented on Dec 4, 2014

    @TWith2Sugars
    ContributorAuthor

    Possibly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions