ProjectFile Class

Summary

Represents a MSBuild project file.
Namespace
Cake.Common.Solution.Project
Base Types
  • object
graph BT Type-->Base0["object"] Type["ProjectFile"] class Type type-node

Syntax

public sealed class ProjectFile

Properties

Name Value Summary
Compile bool
Gets or sets a value indicating whether this ProjectFile is compiled.
FilePath FilePath
Gets or sets the project file path.
RelativePath string
Gets or sets the relative path to the project file.

Extension Methods

Name Value Summary
Dump<ProjectFile>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ProjectFile>(ProjectFile[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ProjectFile>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ProjectFile>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ProjectFile>(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<ProjectFile>(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