Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As SetOffice2003SecurityPolicy
Dim value As String
value = instance.TrustAssembliesLocation
instance.TrustAssembliesLocation = value
public string TrustAssembliesLocation { get; set; }
public:
property String^ TrustAssembliesLocation {
String^ get ();
void set (String^ value);
}
public function get TrustAssembliesLocation () : String
public function set TrustAssembliesLocation (value : String)
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