Partager via


GenerateApplicationManifest.TrustInfoFile Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets an XML document that specifies the application security.

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
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property TrustInfoFile As ITaskItem
public ITaskItem TrustInfoFile { get; set; }
public:
property ITaskItem^ TrustInfoFile {
    ITaskItem^ get ();
    void set (ITaskItem^ value);
}
member TrustInfoFile : ITaskItem with get, set
function get TrustInfoFile () : ITaskItem 
function set TrustInfoFile (value : ITaskItem)

Property Value

Type: Microsoft.Build.Framework.ITaskItem
The XML document that specifies the application security.

Remarks

The root element in the XML document must be a trustInfo node in the asm.v2 namespace. If the task is generating a native manifest, this property is ignored.

.NET Framework Security

See Also

Reference

GenerateApplicationManifest Class

Microsoft.Build.Tasks Namespace