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
ProjectPathstringPath to the .csproj file.
Runtimesstring[]List of runtimes to publish the project.
FrameworkstringFramework to publish the project or default if null.
ProjectNamestringOutput 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[]