Dela via


AssemblyFoldersExInfo Constructor

Creates a new instance of the AssemblyFoldersExInfo class.

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.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Sub New ( _
    hive As RegistryHive, _
    view As RegistryView, _
    registryKey As String, _
    directoryPath As String, _
    targetFrameworkVersion As Version _
)
public AssemblyFoldersExInfo(
    RegistryHive hive,
    RegistryView view,
    string registryKey,
    string directoryPath,
    Version targetFrameworkVersion
)
public:
AssemblyFoldersExInfo(
    RegistryHive hive, 
    RegistryView view, 
    String^ registryKey, 
    String^ directoryPath, 
    Version^ targetFrameworkVersion
)
new : 
        hive:RegistryHive * 
        view:RegistryView * 
        registryKey:string * 
        directoryPath:string * 
        targetFrameworkVersion:Version -> AssemblyFoldersExInfo
public function AssemblyFoldersExInfo(
    hive : RegistryHive, 
    view : RegistryView, 
    registryKey : String, 
    directoryPath : String, 
    targetFrameworkVersion : Version
)

Parameters

  • hive
    Type: RegistryHive

    Registry hive to use.

  • view
    Type: RegistryView

    Registry view to use.

  • registryKey
    Type: System.String

    Registry key for the component.

  • directoryPath
    Type: System.String

    Registry keys default folder path.

  • targetFrameworkVersion
    Type: System.Version

    Target framework version for the registry key.

.NET Framework Security

See Also

Reference

AssemblyFoldersExInfo Class

Microsoft.Build.Utilities Namespace