Skip to content

Problem with LoginAnonymous() #237

Description

@RemiBraizet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions