ProjectParserResult Class

Summary

Represents the content in an MSBuild project file.
Namespace
Cake.Common.Solution.Project
Base Types
  • object
graph BT Type-->Base0["object"] Type["ProjectParserResult"] class Type type-node

Syntax

public sealed class ProjectParserResult

Constructors

Properties

Name Value Summary
AssemblyName string
Gets the build target assembly name.
Configuration string
Gets the build configuration.
Files ICollection<ProjectFile>
Gets the project content files.
OutputPath DirectoryPath
Gets the compiler output path.
OutputType string
Gets the compiler output type, i.e. Exe/Library.
Platform string
Gets the target platform.
ProjectGuid string
Gets the unique project identifier.
ProjectReferences ICollection<ProjectReference>
Gets the references to other projects.
References ICollection<ProjectAssemblyReference>
Gets the references.
RootNameSpace string
Gets the default root namespace.
TargetFrameworkProfile string
Gets the compiler target framework profile.
TargetFrameworkVersion string
Gets the compiler target framework version.

Extension Methods

Name Value Summary
Dump<ProjectParserResult>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ProjectParserResult>(ProjectParserResult[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ProjectParserResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ProjectParserResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ProjectParserResult>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ProjectParserResult>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin