Skip to content

Upgrading Yandex.Cloud.SDK from 1.3.0 to 1.4.1 issue #36

@KarimDev1999

Description

@KarimDev1999

In my project I don't have explicit reference to Grpc.Core nuget package.
As I understand for version 1.3.0 this package has been added implicitly by Yandex.Cloud.SDK -> Yandex.Cloud.Protos -> Grpc.Core

After I upgraded to 1.4.1 version the following exception occurred (as I understand for version 1.4.1 there is no implicit reference to Grpc.Core but to Grpc.Net.Client/Grpc.Core.Api instead):

Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'Grpc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad'. The system cannot find the file specified.

File name: 'Grpc.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad'
   at YandexCloud.IamJwtCredentials.IamJwtCredentialsProvider.TokenService()
   at YandexCloud.IamJwtCredentials.IamJwtCredentialsProvider..ctor(String serviceAccountId, String keyId, String pemCertificate)
   at YandexCloud.IamJwtCredentials.IamJwtCredentialsProvider..ctor(IamJwtCredentialsConfiguration configuration)

could you please suggest a way to fix that, would you recommend to add Grpc.Core package explicitly to my project?

Also I wonder if there is any breaking changes doc for this repository?

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