共用方式為


GenerateTrustInfo.TrustInfoFile Property

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

Gets or sets the file that contains the application security trust information.

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
<OutputAttribute> _
<RequiredAttribute> _
Public Property TrustInfoFile As ITaskItem
[OutputAttribute]
[RequiredAttribute]
public ITaskItem TrustInfoFile { get; set; }
[OutputAttribute]
[RequiredAttribute]
public:
property ITaskItem^ TrustInfoFile {
    ITaskItem^ get ();
    void set (ITaskItem^ value);
}
[<OutputAttribute>]
[<RequiredAttribute>]
member TrustInfoFile : ITaskItem with get, set
function get TrustInfoFile () : ITaskItem 
function set TrustInfoFile (value : ITaskItem)

Property Value

Type: Microsoft.Build.Framework.ITaskItem
The file that contains the application security trust information.

.NET Framework Security

See Also

Reference

GenerateTrustInfo Class

Microsoft.Build.Tasks Namespace