net9.0 or net8.0

This commit is contained in:
root
2025-04-05 20:38:48 +09:00
parent c0d3370e64
commit 14ec2948a7
8 changed files with 15 additions and 22 deletions
Binary file not shown.
Binary file not shown.
-13
View File
@@ -1,13 +0,0 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.TieredCompilation.QuickJit": false
}
}
}
Binary file not shown.
+7 -7
View File
@@ -2,22 +2,22 @@
CONFIGPATH=./config
OPNSIMPATH=../bin
DOTNETVER=6.0
DOTNETVER=9
echo "==================="
echo "DTL/NSL_CURRENCY"
echo "==================="
./clean.sh
./runprebuild.net.sh
./runprebuild.net.sh $DOTNETVER
dotnet build -c Release OpenSim.Currency.sln || exit 1
echo
cp -f bin/net${DOTNETVER}/OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll $OPNSIMPATH
cp -f bin/net${DOTNETVER}/OpenSim.Modules.Currency.dll $OPNSIMPATH
cp -f bin/net${DOTNETVER}/MoneyServer.dll $OPNSIMPATH
cp -f bin/net${DOTNETVER}/MoneyServer $OPNSIMPATH
cp -f bin/net${DOTNETVER}/MoneyServer.runtimeconfig.json $OPNSIMPATH
cp -f bin/net${DOTNETVER}.0/OpenSim.Data.MySQL.MySQLMoneyDataWrapper.dll $OPNSIMPATH
cp -f bin/net${DOTNETVER}.0/OpenSim.Modules.Currency.dll $OPNSIMPATH
cp -f bin/net${DOTNETVER}.0/MoneyServer.dll $OPNSIMPATH
cp -f bin/net${DOTNETVER}.0/MoneyServer $OPNSIMPATH
cp -f bin/net${DOTNETVER}.0/MoneyServer.runtimeconfig.json $OPNSIMPATH
#
rm -f $OPNSIMPATH/OpenSim.Forge.Currency.dll
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Prebuild version="1.10" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.10.xsd">
<Solution name="OpenSim.Currency" activeConfig="Release" path="./" version="0.9-$Rev$" frameworkVersion="net6_0">
<Solution name="OpenSim.Currency" activeConfig="Release" path="./" version="0.9-$Rev$" frameworkVersion="net9_0">
<Configuration name="Debug">
<Options>
<CompilerDefines>TRACE;DEBUG</CompilerDefines>
+7 -1
View File
@@ -1,6 +1,12 @@
#!/bin/bash
#
DOTNETVER=8
if [ "$1" != "" ]; then
DOTNETVER=$1
fi
echo y | dotnet ../bin/prebuild.dll /file prebuild.net.xml /clean
dotnet ../bin/prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.net.xml
dotnet ../bin/prebuild.dll /target vs2022 /targetframework net${DOTNETVER}_0 /excludedir = "obj | bin" /file prebuild.net.xml