ProjectBase Class

Summary

Base class for all project classes.
Assembly
NAnt.VSNet.dll
Namespace
NAnt.VSNet
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type["ProjectBase"] class Type type-node Derived0["VcProject"]-->Type click Derived0 "/api/NAnt.VSNet/VcProject" Derived1["ManagedProjectBase"]-->Type click Derived1 "/api/NAnt.VSNet/ManagedProjectBase"

Syntax

public abstract class ProjectBase

Constructors

Name Summary
ProjectBase(XmlElement, SolutionTask, TempFileCollection, GacCache, ReferencesResolver, DirectoryInfo) Initializes a new instance of the NAnt.VSNet.ProjectBase class.

Properties

Name Value Summary
BuildConfigurations ConfigurationDictionary
Gets a list of project configurations that can be build.
DevEnvDir string
ExtraOutputFiles Hashtable
Gets the extra set of output files for the project.
GacCache GacCache
Guid string
Gets or sets the unique identifier of the VS.NET project.
Name string
Gets the name of the VS.NET project.
ObjectDir DirectoryInfo
Get the directory in which intermediate build output that is not specific to the build configuration will be stored.
OutputDir DirectoryInfo
ProductVersion ProductVersion
Gets the Visual Studio product version of the project.
ProjectConfigurations ConfigurationDictionary
Gets a list of all configurations defined in the project.
ProjectDependencies ProjectBaseCollection
Gets the set of projects that the project depends on.
ProjectDirectory DirectoryInfo
Gets the directory containing the VS.NET project.
ProjectLocation ProjectLocation
Get the location of the project.
ProjectPath string
Gets the path of the VS.NET project.
References ArrayList
ReferencesResolver ReferencesResolver
SolutionTask SolutionTask
TemporaryFiles TempFileCollection
Type ProjectType
Gets the type of the project.

Methods

Name Value Summary
Build(Configuration) BuildResult
Compile(Configuration) bool
CopyFile(FileInfo, FileInfo, Task) void
Copies the specified file if the destination file does not exist, or the source file has been modified since it was previously copied.
CreateProjectReference(ProjectBase, bool, bool) ProjectReferenceBase
DetermineProductVersion(XmlElement) ProductVersion
Returns the Visual Studio product version of the specified project XML fragment.
ExecuteBuildEvent(string, string, string, string, ConfigurationBase) bool
GetAssemblyReferences(Configuration) StringCollection
GetConfiguration(Configuration) ConfigurationBase
GetOutputFiles(Configuration, Hashtable) void
Gets the complete set of output files for the project configuration matching the specified solution configuration.
GetOutputPath(Configuration) string
IsManaged(Configuration) bool
Gets a value indicating whether building the project for the specified build configuration results in managed output.
Log(Level, string) void
Logs a message with the given priority.
Log(Level, string, Object[]) void
Logs a message with the given priority.
Prepare(Configuration) void
Prepares the project for being built.
VerifyProjectXml(XmlElement) void
Verifies whether the specified XML fragment represents a valid project that is supported by this NAnt.VSNet.ProjectBase.