Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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. |
IL3005 RequiresAssemblyFilesAttribute cannot be placed directly on application entry point. |
RequiresAssemblyFilesAttribute cannot be placed directly on application entry point. |
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.