-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Feature Request]: .NET 6 Target with Trimming #2673
Comments
What sort of app using a decompiler would be using NativeAOT? |
ReferenceAssemblyAnnotator is not going to be removed unless Microsoft adds nullable attributes to netstandard2.0 out of the box. Too many customers depend on netstandard2.0, so we cannot upgrade and of course adding NRT to the decompiler is also a must at this point. Thank you for your understanding! |
I have a game recovery project where performance is very important. NativeAOT would help with that. |
I'm not suggesting you remove ReferenceAssemblyAnnotator or netstandard 2.0 support. The former just needs fixed so that it doesn't break when targeting multiple framework versions. |
@ds5678 please open a new issue if ever the ReferenceAssemblyAnnotator bug gets fixed and we can thus support trimming. |
A .NET 6 target for the decompiler project with trimming would allow this to be used in NativeAOT apps.
Issues to be dealt with:
ResXResourceWriter.cs
usesTypeDescriptor.GetConverter
andBinaryFormatter.Serialize
.UniversalAssemblyResolver.cs
callsType.GetType("Mono.Runtime")
which I think can be safely excluded with a preprocessor directive on .NET 6.The text was updated successfully, but these errors were encountered: