FrameworkInfo Class

Summary

Encapsulates information about installed frameworks including version information and directory locations for finding tools.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Interfaces
  • ISerializable
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ISerializable"] Type["FrameworkInfo"] class Type type-node

Syntax

[Serializable()]
public class FrameworkInfo : ISerializable

Attributes

Type Description
SerializableAttribute

Constructors

Properties

Name Value Summary
ClrType ClrType
Gets the CLR type of the framework.
ClrVersion Version
Gets the Common Language Runtime version of the framework.
Description string
Gets the description of the framework.
Family string
Gets the family of the framework.
FrameworkAssemblyDirectory DirectoryInfo
Gets the directory where the system assemblies for the framework are located.
FrameworkDirectory DirectoryInfo
Gets the base directory of the framework tools for the framework.
IsValid bool
Returns a value indicating whether the current framework is valid.
Name string
Gets the name of the framework.
Project Project
Gets the NAnt.Core.FrameworkInfo.Project used to initialize this framework.
SdkDirectory DirectoryInfo
Gets the directory containing the SDK tools for the framework.
TaskAssemblies FileSet
Gets the set of assemblies and directories that should scanned for NAnt tasks, types or functions.
Version Version
Gets the version of the framework.
VisualStudioVersion Version
Gets the Visual Studio version that corresponds with this framework.

Methods

Name Value Summary
ResolveAssembly(string) string
Resolves the specified assembly to a full path by matching it against the reference assemblies.