ApplicationManifest.MaxTargetPath Property
Gets or sets a value that specifies the maximum allowed length of a file path in a ClickOnce application deployment. If this value is specified, the length of each file path in the application is checked against this limit. Any items that exceed the limit cause a warning message. If this input is not specified or is zero, no checking is performed. For a native Win32 manifest, this input is ignored.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
Public Property MaxTargetPath As Integer
public int MaxTargetPath { get; set; }
public:
property int MaxTargetPath {
int get ();
void set (int value);
}
member MaxTargetPath : int with get, set
function get MaxTargetPath () : int
function set MaxTargetPath (value : int)
Property Value
Type: System.Int32
An integer that indicates the maximum allowed length of a file path in a ClickOnce application deployment.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.
See Also
Reference
Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace