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.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.