SetOffice2003SecurityPolicy.TrustAssembliesLocation Property
Gets or sets a string that indicates whether to change the security policy configuration of the assemblies during build.
Namespace: Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly: Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)
Syntax
'Declaration
Public Property TrustAssembliesLocation As String
Get
Set
'Usage
Dim instance As SetOffice2003SecurityPolicy
Dim value As String
value = instance.TrustAssembliesLocation
instance.TrustAssembliesLocation = value
public string TrustAssembliesLocation { get; set; }
Property Value
Type: System.String
true to update the security policy configuration to give FullTrust permissions to the main assembly and corresponding references during build. false to leave the security policy unchanged.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SetOffice2003SecurityPolicy Class
SetOffice2003SecurityPolicy Members
Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace