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

Aot后打不开 #1

Open
wmchuang opened this issue Aug 3, 2023 · 1 comment
Open

Aot后打不开 #1

wmchuang opened this issue Aug 3, 2023 · 1 comment

Comments

@wmchuang
Copy link
Owner

wmchuang commented Aug 3, 2023

点exe没反应

@wmchuang
Copy link
Owner Author

wmchuang commented Aug 3, 2023

AotDemo.Models.NetTypeEnum[]' is missing native code or metadata. This can happen for code that is not compatible with trimming or AOT. Inspect and fix trimming and AOT related warnings that were generated when the app was published. For more information see https://aka.ms/nativeaot-compatibility System.NotSupportedException: 'AotDemo.Models.NetTypeEnum[]' is missing native code or metadata. This can happen for code that is not compatible with trimming or AOT. Inspect and fix trimming and AOT related warnings that were generated when the app was published. For more information see https://aka.ms/nativeaot-compatibility
at System.Reflection.Runtime.General.TypeUnifier.WithVerifiedTypeHandle(RuntimeArrayTypeInfo, RuntimeTypeInfo) + 0x5b

在EnumExtension的GetList方法中出错了, 好像不太支持泛型

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