Merge pull request #18112 from iterate-ch/bugfix/vs2026-build

Fix MSBuild in VS2026 update validating Json Schema for .nupkg.metadata
This commit is contained in:
David Kocher
2026-05-15 12:34:57 +02:00
committed by GitHub
+1 -1
View File
@@ -28,5 +28,5 @@ foreach ($line in Get-Content $PackagesListPath) {
New-Item -Force -Type Directory $TargetDirectory
Get-ChildItem $TargetDirectory | Remove-Item -Recurse -Force
tar.exe xf $NupkgFile -C $TargetDirectory
Set-Content "$TargetDirectory\.nupkg.metadata" '{}'
Set-Content "$TargetDirectory\.nupkg.metadata" '{ "contentHash": "" }'
}