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 Apr 26, 2021
1 parent 66d6721 commit 135d4f7
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 135d4f7

Please sign in to comment.