Skip to content

RestSharp dependency issue #35

Description

@andiras

I am having issues trying to fix RestSharp dependency when adding SalesForceSharp to my project.

When you add SalesForceSharp reference to the project, it will include the RestSharp v105.0.1 dependency. I have other library projects in the solution using the newest RestSharp v106.6.10. When I run the project I get the "Could not load file or assembly 'RestSharp, Version=105.0.1.0, " error. Checking the bin folder I have the newest RestSharp v106.6.10.

I tried to add an assemblyBinding to the project's config file to redirect the versions but it won't work because RestSharp v105 doesn't have a publicKeyToken while newest v106.6 has a publicKeyToken.

Any chance to not include the RestSharp dependency when adding SalesForceSharp reference? Any other suggestion?

Thanks

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