Class ProjectPublicationInfo
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
stringPath to the .csproj file.
Runtimes
string[]List of runtimes to publish the project.
Framework
stringFramework to publish the project or default if null.
ProjectName
stringOutput project name or default if null.
Properties
Framework
Framework to publish the project or default if null.
public string? Framework { get; init; }
Property Value
ProjectName
Output project name or default if null.
public string? ProjectName { get; init; }
Property Value
ProjectPath
Path to the .csproj file.
public string ProjectPath { get; init; }
Property Value
Runtimes
List of runtimes to publish the project.
public string[] Runtimes { get; init; }
Property Value
- string[]