We recommend using Visual Studio 2017

FailedTargetSelectionException Class

The FailedTargetSelectionException class represents an exception that is thrown when target selection policy fails during deployment of a DAC.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

public sealed class FailedTargetSelectionException : DeploymentValidationException

The FailedTargetSelectionException type exposes the following members.

Public methodFailedTargetSelectionException()Initializes a new default instance of the FailedTargetSelectionException class.
Public methodFailedTargetSelectionException(Exception)Initializes a new instance of the DacExtractionException class with the specified inner exception.

Public propertyDacExceptionTypeGets the type of the exception. (Inherited from DacException.)
Public propertyData (Inherited from Exception.)
Public propertyHelpLinkGets a string with the URL help link that further explains the exception. (Inherited from DacException.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodInitInitializes provider properties. (Inherited from DacException.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetHelpContextSets the help context for the help link. (Inherited from DacException.)
Public methodToString (Inherited from Exception.)

If the user chooses to skip policy evaluation in the deployment, this exception will not be thrown.

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