Share via


ManageCertificateStore Class

Defines an MSBuild task that adds a certificate to the certificate store if it is missing from a Visual Studio Tools for Applications project. This class cannot be inherited.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Hosting.CodeGeneration
Assembly:  Microsoft.VisualStudio.Tools.Applications.BuildTasks (in Microsoft.VisualStudio.Tools.Applications.BuildTasks.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class ManageCertificateStore _
    Inherits Task
'Usage
Dim instance As ManageCertificateStore
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class ManageCertificateStore : Task
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class ManageCertificateStore sealed : public Task
public final class ManageCertificateStore extends Task

Remarks

Set all of the ManageCertificateStore properties and then call Execute to run this task.

The Microsoft Build Engine uses Microsoft.VisualStudio.Tools.Applications.Hosting.CodeGeneration to build Visual Studio Tools for Applications solutions. However, you can create your own build system by using these classes and the MSBuild XML-based project files. For more information, see MSBuild Overview and MSBuild Reference.

Inheritance Hierarchy

System.Object
  Microsoft.Build.Utilities.Task
    Microsoft.VisualStudio.Tools.Applications.Hosting.CodeGeneration.ManageCertificateStore

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ManageCertificateStore Members

Microsoft.VisualStudio.Tools.Applications.Hosting.CodeGeneration Namespace