update<Build>: build with .NET 6.0 and .Net Framework 4.8

This commit is contained in:
leo 2021-11-15 19:50:16 +08:00
parent 18525425bb
commit d40edebc58
3 changed files with 3 additions and 17 deletions

View file

@ -11,20 +11,6 @@ cd ..\publish
ren SourceGit.exe SourceGit.net4.8.exe
rmdir /s /q net48
cd ..\src
rmdir /s /q bin
rmdir /s /q obj
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net5.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
cd ..\publish
ren SourceGit.exe SourceGit.net5.0.x86.exe
cd ..\src
rmdir /s /q bin
rmdir /s /q obj
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net5.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
cd ..\publish
ren SourceGit.exe SourceGit.net5.0.x64.exe
cd ..\src
rmdir /s /q bin
rmdir /s /q obj