We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dotnet validate package local
1 parent 1aab1e6 commit b86c0d5Copy full SHA for b86c0d5
src/Serilog.Formatting.Log4Net.csproj
@@ -55,7 +55,7 @@
55
56
<Target Name="ValidateNuGetPackage" AfterTargets="Pack">
57
<Exec Command="dotnet tool restore" />
58
- <Exec Command="dotnet validate package local @(NuGetPackOutput)" Condition="%(NuGetPackOutput.extension) == '.nupkg'" />
+ <Exec Command="dotnet validate package local $([MSBuild]::EnsureTrailingSlash($(PackageOutputPath)))$(PackageId).$(PackageVersion).nupkg" />
59
</Target>
60
61
<Target Name="PrintPackageVersionForGitHubActions" AfterTargets="Pack">
0 commit comments