Skip to content

Commit

Permalink
Fix message when building packages. (#5664)
Browse files Browse the repository at this point in the history
Log the path to the package instead of the nuspec.
  • Loading branch information
ericstj authored Jun 17, 2020
1 parent f2e5b6b commit b0b76b6
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,16 @@
<Target Name="Build"
DependsOnTargets="$(BuildDependsOn)">

<Message Condition="'$(ShouldGenerateNuSpec)' == 'true'"
<Message Condition="'$(ShouldCreatePackage)' == 'true'"
Text="$(MSBuildProjectName) -> $(PackageOutputPath)$(Id).$(PackageVersion).nupkg"
Importance="high" />

<Message Condition="'$(ShouldCreatePackage)' != 'true' AND '$(ShouldGenerateNuSpec)' == 'true'"
Text="$(MSBuildProjectName) -> $(NuSpecPath)"
Importance="high" />

<Message Condition="'$(ShouldGenerateNuSpec)' != 'true'"
Text="Skipping nuspec generation for this platform."
<Message Condition="'$(ShouldCreatePackage)' != 'true' AND '$(ShouldGenerateNuSpec)' != 'true'"
Text="$(MSBuildProjectName) -> Skipping for this platform."
Importance="high" />
</Target>

Expand Down

0 comments on commit b0b76b6

Please sign in to comment.