mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-01 01:14:59 +00:00
upgrade<Project>: retargets to .net framework 4.8
This commit is contained in:
parent
476c23f9d2
commit
5d71e54547
10 changed files with 35 additions and 31 deletions
15
build.bat
15
build.bat
|
@ -3,10 +3,15 @@
|
|||
rmdir /s /q publish
|
||||
|
||||
cd src
|
||||
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net6.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
||||
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net6.0-windows -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishReadyToRun=true --self-contained -o ..\publish\tmp
|
||||
move ..\publish\tmp\SourceGit.exe ..\publish\SourceGit.bundle.exe
|
||||
rmdir /s /q ..\publish\tmp
|
||||
del /f /s /q ..\publish\SourceGit.pdb
|
||||
|
||||
rmdir /s /q bin
|
||||
rmdir /s /q obj
|
||||
|
||||
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net48 -o ..\publish\net48
|
||||
ilrepack /ndebug /wildcards /out:..\publish\SourceGit.exe ..\publish\net48\SourceGit.exe ..\publish\net48\*.dll
|
||||
|
||||
cd ..\publish
|
||||
|
||||
rmdir /s /q net48
|
||||
|
||||
cd ..
|
Loading…
Add table
Add a link
Reference in a new issue