แก้ไข

แชร์ผ่าน


IL3005: RequiresAssemblyFilesAttribute cannot be placed directly on application entry point

Cause

RequiresAssemblyFilesAttribute on entry points is not allowed since the method will be called from code that is not subject to static analysis. Entry points include the Main method or methods annotated with UnmanagedCallersOnlyAttribute with EntryPoint property specified.