Skip to content

SalesforceSharp 1.1.0 is not compatible with HelperSharp 0.0.4.2 #42

Description

@Paqi

SalesforceSharp 1.1.0 is supposed to be compatible with any version of HelperSharp >= 0.0.4.1.

Our project uses HelperSharp 0.0.4.2. Everything builds fine, and our package manager doesn't complain when resolving package versions, but we're seeing the following runtime error:

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.IO.FileLoadException: Could not load file or assembly 'HelperSharp, Version=1.0.5358.23405, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at SalesforceSharp.Security.UsernamePasswordAuthenticationFlow..ctor(IRestClient restClient, String clientId, String clientSecret, String username, String password, String tokenRequestEndpointUrl)
   at SalesforceSharp.Security.UsernamePasswordAuthenticationFlow..ctor(String clientId, String clientSecret, String username, String password, String tokenRequestEndpointUrl) in C:\projects\salesforcesharp\src\SalesforceSharp\Security\UsernamePasswordAuthenticationFlow.cs:line 56

HelperSharp, Version=1.0.5358.23405 corresponds to HelperSharp 0.0.4.1.

The projects files might have to be updated to use ProjectReference nodes instead of regular Reference nodes: https://docs.microsoft.com/en-us/nuget/concepts/package-versioning

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions