Table of Contents

Class ProjectPublicationInfo

Namespace
Cake.Frosting.PleOps.Recipe.Dotnet
Assembly
Cake.Frosting.PleOps.Recipe.dll

Information about the parameters to publish a .NET project.

public record ProjectPublicationInfo : IEquatable<ProjectPublicationInfo>
Inheritance
ProjectPublicationInfo
Implements
Inherited Members

Constructors

ProjectPublicationInfo(string, string[], string?, string?)

Information about the parameters to publish a .NET project.

public ProjectPublicationInfo(string ProjectPath, string[] Runtimes, string? Framework = null, string? ProjectName = null)

Parameters

ProjectPath string

Path to the .csproj file.

Runtimes string[]

List of runtimes to publish the project.

Framework string

Framework to publish the project or default if null.

ProjectName string

Output project name or default if null.

Properties

Framework

Framework to publish the project or default if null.

public string? Framework { get; init; }

Property Value

string

ProjectName

Output project name or default if null.

public string? ProjectName { get; init; }

Property Value

string

ProjectPath

Path to the .csproj file.

public string ProjectPath { get; init; }

Property Value

string

Runtimes

List of runtimes to publish the project.

public string[] Runtimes { get; init; }

Property Value

string[]