dotnet publish Tortoise.csproj --self-contained --runtime win-x64 /p:PublishSingleFile=true /p:ExecutableName=Tortoise-3267F1B6 -o ./ MSBuild version 17.4.0+18d5aef85 for .NET Determining projects to restore... C:\Program Files\dotnet\sdk\7.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(144,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 8.0. Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0. [C:\Users\anikp\AppData\Local\Temp\tmpej0uceyg\Tortoise\Tortoise-tmp\Tortoise.csproj] make: *** [publish] Error 1