Skip to content

Commit

Permalink
Moved PackageOutputPath to NuGet's Pack targets
Browse files Browse the repository at this point in the history
This should free the SDK from having to manage NuGet Pack's `PackageOutputPath` property.
This was possible because of the `BaseOutputPath` that'll be used instead of `OutputPath` in the Pack targets.
  • Loading branch information
Nirmal4G committed May 15, 2021
1 parent 9d88a9b commit 8e85d8c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,4 @@ Copyright (c) .NET Foundation. All rights reserved.
<IntermediateOutputPath Condition="!HasTrailingSlash('$(IntermediateOutputPath)')">$(IntermediateOutputPath)\</IntermediateOutputPath>
</PropertyGroup>

<!-- Set the package output path (for nuget pack target) now, before the TargetFramework is appended -->
<PropertyGroup>
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$(OutputPath)</PackageOutputPath>
</PropertyGroup>

</Project>

0 comments on commit 8e85d8c

Please sign in to comment.