Skip to content

Commit

Permalink
feat: add MSBuildProjectProperties.OutputPath
Browse files Browse the repository at this point in the history
  • Loading branch information
BinToss committed Aug 5, 2024
1 parent 02d2b14 commit 263e13c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/dotnet/MSBuildProjectProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class MSBuildProjectProperties {
}
this.AssemblyName = getAndForget("AssemblyName") ?? "";
this.Description = getAndForget("Description") ?? "";
this.OutputPath = getAndForget("OutputPath") ?? "";
this.RuntimeIdentifier = getAndForget("RuntimeIdentifier") ?? "";
this.RuntimeIdentifiers = getAndForget("RuntimeIdentifiers") ?? "";
this.TargetFramework = getAndForget("TargetFramework") ?? "";
Expand Down Expand Up @@ -79,6 +80,8 @@ export class MSBuildProjectProperties {
*/
readonly Description: string;

readonly OutputPath: string;

/** Set Version -OR- VersionPrefix. */
readonly Version: string;

Expand Down
2 changes: 1 addition & 1 deletion src/dotnet/NugetProjectProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class NugetProjectProperties extends MSBuildProjectProperties {
* Determines the output path in which the packed package will be dropped.
* Default is `$(OutputPath)` ({@link This.OutputPath}).
*/
public readonly PackageOutputPath: string = this.OutputPath ?? "";
public readonly PackageOutputPath: string = this.OutputPath;

/**
* This Boolean value indicates whether the package should create an
Expand Down

0 comments on commit 263e13c

Please sign in to comment.