Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

type "EncryptedCredentials" is defined in an assembly that is not referenced #2

Closed
dkjzGHKJHGRSD opened this issue Dec 12, 2019 · 1 comment

Comments

@dkjzGHKJHGRSD
Copy link

Hello.

I am writing a telegram bot

There is a need for data decryption. I use the libraries "Telegram.Bot.Extensions.Passport" and "Telegram.Bot". I program myself in another language, in which there is no way to do this, but there is the opportunity to use the assembly as a COM-object. I made the COM-object myself, but to build the solution you need to sign it and that all internal assemblies are also signed. I also did this.
But after signing the internal assembly "Telegram.Bot" on the "DecryptCredentials" method, an error appears: type "EncryptedCredentials" is defined in an assembly that is not referenced.

Do not judge strictly since I do not program in C #, but only study
I would be very grateful for any tips.

@dkjzGHKJHGRSD
Copy link
Author

Проблема решена.

Как оказалось необходимо было установить сборки в GAC .
После этого все заработало.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant