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

Problem with LoginAnonymous() #237

Open
RemiBraizet opened this issue Dec 31, 2023 · 1 comment
Open

Problem with LoginAnonymous() #237

RemiBraizet opened this issue Dec 31, 2023 · 1 comment

Comments

@RemiBraizet
Copy link

RemiBraizet commented Dec 31, 2023

Description:
using MyClient.LoginAnonymous();
make code throw and exception APIResponse bad session id

what are you trying to do
i'm trying to publish an AOT executable

what happens
when i publish my code in DEBUG configuration on one another computer i get a BadSessionID exception

what should happens
i should get my anonymous connection working

MegaApiClient Version:
1.10.3

github repo of code snippet that cause the problem
https://github.com/Remaetanju/TestMegaClientApi

I've searched a bit and found that AOT compilation comes with some trimming that seems to break your nuget
i found this i think it might be usefull dotnet/project-system#9101

.net 8.0

@zp8ept
Copy link

zp8ept commented Sep 28, 2024

Have you found a solution for this? I am facing the same problem with AOT compilation.

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

2 participants