Closed tpill90 closed 1 year ago
Test script, with SingleFile and ReadyToRun enabled
function publish()
{
git clean -fx -d | out-null
dotnet publish .\BattleNetPrefill\BattleNetPrefill.csproj `
-v quiet `
-o "publish" `
-c Release `
--runtime "win-x64" `
--self-contained true `
/p:PublishSingleFile=true `
/p:PublishReadyToRun=true `
--nologo
$sha = Get-ChildItem .\publish\BattleNetPrefill.exe | Get-FileHash
Write-Host $sha.Hash
Write-Host ""
}
SingleFile deterministic builds are not currently supported. Closing