Share via


VerifyClickOnceSigningSettings Class

Defines an MSBuild task that checks that the developer has selected a certificate to use for signing manifests in 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 VerifyClickOnceSigningSettings _
    Inherits Task
'Usage
Dim instance As VerifyClickOnceSigningSettings
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class VerifyClickOnceSigningSettings : Task
[ComVisibleAttribute(false)]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class VerifyClickOnceSigningSettings sealed : public Task
public final class VerifyClickOnceSigningSettings extends Task

Remarks

If there is no certificate selected to use for signing manifests, the build stops and logs an error.

Set all of the VerifyClickOnceSigningSettings 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.VerifyClickOnceSigningSettings

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

VerifyClickOnceSigningSettings Members

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