Export (0) Print
Expand All

Microsoft.VisualStudio.Tools.Applications.Deployment Namespace

Use the classes in the Microsoft.VisualStudio.Tools.Applications.Deployment namespace if you want to implement ClickOnce technology for deploying Visual Studio Tools for Applications solutions. To use the ClickOnce infrastructure, you must implement the IClickOnceAddInTrustManager interface. The IClickOnceAddInInstaller interface implementation is optional.

ClickOnce technology enables the following scenarios:

  • Checking security through certificates, ClickOnce trust prompts, and the user inclusion list. For Visual Studio Tools for Applications integrations, you must provide the implementation for trust prompts and the user inclusion list.

  • Installing solutions by downloading manifests and solution files.

  • Updating solutions and customization assemblies at specified intervals.

  ClassDescription
Public classAddInAlreadyInstalledExceptionThe exception that is thrown when a solution has been installed from one location and is being reinstalled from another location. This class cannot be inherited.
Public classAddInDeploymentArgumentsBase class for classes that provide arguments to deployment methods.
Public classAddInDownloadedArgsProvides data for the OnAddInDownloaded event.
Public classAddInDownloadingArgsProvides data for the OnAddInDownloading event.
Public classAddInDownloadProgressChangedArgsProvides data for the OnAddInDownloadProgressChanged event.
Public classAddInInformationContains information needed by the Visual Studio Tools for Applications runtime to create an application domain and start an add-in.
Public classAddInInstalledArgsProvides data for the OnAddInInstalled event.
Public classAddInInstallingArgsProvides data for the OnAddInInstalling event.
Public classAddInManifestsDownloadedArgsProvides data for the OnAddInManifestsDownloaded event.
Public classAddInManifestsDownloadingArgsProvides data for the OnAddInManifestsDownloading event.
Public classAddInOfflineArgsProvides data for the OnAddInOffline event.
Public classAddInProcessAbortArgsProvides data for the OnAddInProcessAbort event.
Public classAddInUninstalledArgsProvides data for the OnAddInUninstalled event.
Public classAddInUninstallingArgsProvides data for the OnAddInUninstalling event.
Public classClickOnceAddInDeploymentManagerProvides methods and properties for ClickOnce deployment infrastructure, including downloading manifests, installing add-ins, checking security, and uninstalling add-ins.
Public classClickOnceAddInTrustEvidenceProvides information that can be used to determine whether to trust an add-in.
Public classInstallAddInCanceledExceptionThe exception that is thrown when the add-in installation or update is canceled. This class cannot be inherited.
Public classInstallAddInFailedExceptionThe exception that is thrown when the add-in installation or update failed. This class cannot be inherited.
Public classInvalidManifestExceptionThe exception that is thrown when the manifest is not valid. This class cannot be inherited.
Public classInvalidRegistryStoreValueExceptionThe exception that is thrown when the current solution configuration values in the registry are not valid. This class cannot be inherited.
Public classOfflineAddInFailedExceptionThe exception that is thrown when the solution is not present in the ClickOnce cache, though the solution was previously installed. This class cannot be inherited.
Public classUninstallAddInCanceledExceptionThe exception that is thrown when the removal of the add-in is canceled. This class cannot be inherited.
Public classUninstallAddInFailedExceptionThe exception that is thrown when the add-in could not be uninstalled. This class cannot be inherited.

  InterfaceDescription
Public interfaceIClickOnceAddInCancelableInstallerProvides a method that enables users to stop downloading an add-in or an automatic update for an installed add-in.
Public interfaceIClickOnceAddInInstallerProvides methods that you can use to create actions that run while an add-in is being installed or uninstalled.
Public interfaceIClickOnceAddInTrustManagerDefines methods that you can use to verify permissions and trust for add-ins.

  EnumerationDescription
Public enumerationAddInInstallationStatusContains values that indicate the type of installation that is being performed.
Public enumerationClickOnceAddInDownloadProgressStateIndicates which add-in files are currently being downloaded.
Public enumerationClickOnceAddInPromptingLevelSpecifies the credentials used by the runtime to make a trust decision to install an add-in.

Community Additions

Show:
© 2014 Microsoft