SingleFile rules
SingleFile rules for .NET.
Note
Prior to .NET 6, this category was named Publish
.
In this section
Rule | Description |
---|---|
IL3000 Avoid accessing Assembly file path when publishing as a single file | Avoid accessing Assembly file path when publishing as a single file |
IL3001 Avoid accessing Assembly file path when publishing as a single file | Avoid accessing Assembly file path when publishing as a single file |
IL3002 Avoid calling members annotated with 'RequiresAssemblyFilesAttribute' when publishing as a single file | Avoid calling members annotated with 'RequiresAssemblyFilesAttribute' when publishing as a single file |
IL3003 'RequiresAssemblyFilesAttribute' annotations must match across all interface implementations or overrides. | 'RequiresAssemblyFilesAttribute' annotations must match across all interface implementations or overrides. |
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for