Bagikan melalui


ResolveAssemblyReference.SuggestedRedirects Property

Definition

Regardless of the value of AutoUnify, returns one item for every distinct conflicting assembly identity--including culture and PKT--that was found that did not have a suitable bindingRedirect entry in the ApplicationConfigurationFile.

Each returned ITaskItem will have the following values: ItemSpec - the full fusion name of the assembly family with empty version=0.0.0.0 MaxVersion - the maximum version number.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ SuggestedRedirects { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); };
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] SuggestedRedirects { get; }
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] SuggestedRedirects { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
[<Microsoft.Build.Framework.Output>]
member this.SuggestedRedirects : Microsoft.Build.Framework.ITaskItem[]
[<Microsoft.Build.Framework.Output>]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.SuggestedRedirects : Microsoft.Build.Framework.ITaskItem[]
Public ReadOnly Property SuggestedRedirects As ITaskItem()

Property Value

The items that correspond to distinct conflicting assembly identities.

Attributes

Remarks

The items include culture and PKT that were found and that did not have a suitable bindingRedirect entry in the application configuration file.

Applies to