Manifest.ReadOnly Property

Definition

Specifies whether the manifest is operating in read-only or read-write mode. If only using to read a manifest then set this flag to true. If using to write a new manifest then set this flag to false. The default is false. This flag provides additional context for the manifest generator, and affects how some error messages are reported.

public bool ReadOnly { get; set; }
public bool ReadOnly { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

A Boolean value indicating whether the manifest is operating in read-only or read-write mode.

Attributes

Remarks

If you only need to read a manifest, set this flag to True. If you need to write a new manifest, set this flag to False. The default is False. This property provides additional context for the manifest generator, and affects how some error messages are reported.

Applies to