다음을 통해 공유


ApplicationManifest.MaxTargetPath Property

Definition

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

public:
 property int MaxTargetPath { int get(); void set(int value); };
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; }
member this.MaxTargetPath : int with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.MaxTargetPath : int with get, set
Public Property MaxTargetPath As Integer

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