Share via


CompatibleFrameworkCollection.Item Property

Gets a version of the .NET Framework that an application prefers to run on.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As CompatibleFramework
public CompatibleFramework this[
    int index
] { get; }
public:
property CompatibleFramework^ default[int index] {
    CompatibleFramework^ get (int index);
}
member Item : 
        index:int -> CompatibleFramework with get
JScript does not support indexed properties.

Parameters

  • index
    Type: System.Int32

    The version of .NET Framework to check for on the end-user computer.

Property Value

Type: Microsoft.Build.Tasks.Deployment.ManifestUtilities.CompatibleFramework
A CompatibleFramework object that represents the versions of the .NET Framework that an application prefers to run on.

.NET Framework Security

See Also

Reference

CompatibleFrameworkCollection Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace