Skip to content

Commit 96d2c54

Browse files
committed
update to net8
1 parent d1be5df commit 96d2c54

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

ASFAchievementManager/ASF-Achievement-Manager.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<Authors>Rudokhvist</Authors>
5-
<AssemblyVersion>0.2.2.2</AssemblyVersion>
6-
<TargetFrameworks>net6.0;net48</TargetFrameworks>
5+
<AssemblyVersion>0.3.0.0</AssemblyVersion>
6+
<TargetFramework>net8.0</TargetFramework>
77
<Nullable>enable</Nullable>
88
<LangVersion>latest</LangVersion>
99
</PropertyGroup>

build.bat

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if exist out rmdir /Q /S out
2121

2222
rem release generic version
2323

24-
dotnet publish -c "Release" -f "net6.0" -o "out/generic" "/p:LinkDuringPublish=false"
24+
dotnet publish -c "Release" -f "net8.0" -o "out/generic" "/p:LinkDuringPublish=false"
2525
mkdir .\out\%CurrDirName%
2626
copy .\out\generic\%CurrDirName%.dll .\out\%CurrDirName%
2727
rem comment section below (downto :zip label) if you don't want to include documentation
@@ -37,21 +37,3 @@ if ERRORLEVEL 1 (
3737
7z a -tzip -mx7 .\out\%CurrDirName%.zip .\out\%CurrDirName%
3838
rmdir /Q /S out\%CurrDirName%
3939

40-
rem release generic-netf version
41-
rem comment section below if you don't target netf ASF version
42-
43-
dotnet publish -c "Release" -f "net48" -o "out/generic-netf"
44-
mkdir .\out\%CurrDirName%
45-
copy .\out\generic-netf\%CurrDirName%.dll .\out\%CurrDirName%
46-
rem comment section below (downto :zipnetf label) if you don't want to include documentation
47-
if not exist README.md (goto zipnetf)
48-
where /q pandoc.exe
49-
if ERRORLEVEL 1 (
50-
copy README.md .\out\%CurrDirName%
51-
goto zipnetf
52-
) else (
53-
pandoc --metadata title="%CurrDirName%" --standalone --columns 2000 -f markdown -t html --self-contained -c .\github-pandoc.css -o .\out\%CurrDirName%\README.html README.md
54-
)
55-
:zipnetf
56-
7z a -tzip -mx7 .\out\%CurrDirName%-netf.zip .\out\%CurrDirName%
57-
rmdir /Q /S out\%CurrDirName%

0 commit comments

Comments
 (0)