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 |
Initializes a new instance of the NAnt.VSNet.ProjectBase class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| BuildConfigurations | Configuration |
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.
|
| Project |
Configuration |
Gets a list of all configurations defined in the project.
|
| ProjectDependencies | Project |
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 |
BuildResult | |
| Compile |
bool | |
| CopyFile |
void |
Copies the specified file if the destination file does not exist, or
the source file has been modified since it was previously copied.
|
| Create |
ProjectReferenceBase | |
| Determine |
ProductVersion |
Returns the Visual Studio product version of the specified project
XML fragment.
|
| ExecuteBuildEvent |
bool | |
| Get |
StringCollection | |
| GetConfiguration |
ConfigurationBase | |
| GetOutputFiles |
void |
Gets the complete set of output files for the project configuration
matching the specified solution configuration.
|
| GetOutputPath |
string | |
| IsManaged |
bool |
Gets a value indicating whether building the project for the specified
build configuration results in managed output.
|
| Log |
void |
Logs a message with the given priority.
|
| Log |
void |
Logs a message with the given priority.
|
| Prepare |
void |
Prepares the project for being built.
|
| VerifyProjectXml |
void |
Verifies whether the specified XML fragment represents a valid project
that is supported by this
NAnt.VSNet.ProjectBase.
|
