ApplicationManifest.MaxTargetPath Property

Definition

Gets or sets the maximum allowable length of a file path in a ClickOnce application deployment.

public int MaxTargetPath { get; set; }
public int MaxTargetPath { [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

An integer that indicates the maximum allowed length of a file path in a ClickOnce application deployment.

Attributes

Remarks

If this value is specified, then the length of each file path in the application is checked against this limit. Any items that exceed the limit will result in a warning message. If this input is not specified or is zero, then no checking is performed. For a Win32 native manifest, this input is ignored.

Applies to