We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice to have full NativeAOT support for RestSharp. It currently logs trimming warnings.
/root/.nuget/packages/restsharp/110.2.0/lib/net7.0/RestSharp.dll : warning IL3053: Assembly 'RestSharp' produced AOT analysis warnings.
The text was updated successfully, but these errors were encountered:
The AOT support is blocked by reflections code in AddObject and AddObjectStatic. If you don't use those, it might be already working.
AddObject
AddObjectStatic
Sorry, something went wrong.
Adding attributes to those methods can fix those warnings, and should be able to do so without changing any functionality. Here's a link to an article that explains how to support NativeAOT. https://devblogs.microsoft.com/dotnet/creating-aot-compatible-libraries/
If you don't use those, it might be already working.
It still produces warnings. Is there any way we can make it AOT-compatible using the guide suggested by @emrys90?
No branches or pull requests
It would be nice to have full NativeAOT support for RestSharp. It currently logs trimming warnings.
The text was updated successfully, but these errors were encountered: