move minimal dotnet version to 8

This commit is contained in:
UbitUmarov 2024-04-20 23:37:37 +01:00
parent 50212c240c
commit e731edfa2e
9 changed files with 14 additions and 10 deletions

View file

@ -11,7 +11,7 @@ get or update source from git
## Requirements
To building under Windows, the following is required:
* [dotnet 6.0 SDK, Runtime and Desktop Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
* [dotnet 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
optionally also
@ -36,7 +36,7 @@ Now just run `OpenSim.exe` from the `bin` folder, and set up the region.
## Requirements
* [dotnet 6.0 SDK and Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
* [dotnet 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
* libgdiplus
if you have mono 6.x complete, you already have libgdiplus, otherwise you need to install it

View file

@ -120,7 +120,8 @@ namespace Prebuild.Core.Nodes
net5_0,
net6_0,
net7_0,
net8_0
net8_0,
net9_0
}
/// <summary>

View file

@ -110,6 +110,7 @@ namespace Prebuild.Core.Targets
case FrameworkVersion.net6_0:
case FrameworkVersion.net7_0:
case FrameworkVersion.net8_0:
case FrameworkVersion.net9_0:
return "ToolsVersion=\"17.0\"";
case FrameworkVersion.netstandard2_0:
case FrameworkVersion.v4_8:

View file

@ -16,7 +16,7 @@ Please see BUILDING.md
# Running OpenSim on Windows
You will need dotnet 6.0 runtime (https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
You will need dotnet 8.0 runtime (https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
To run OpenSim from a command prompt
@ -30,7 +30,7 @@ To run OpenSim from a command prompt
You will need
* [dotnet 6.0 Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
* [dotnet 8.0 Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
* libgdiplus
if you have mono 6.x complete, you already have libgdiplus, otherwise you need to install it

Binary file not shown.

View file

@ -1,11 +1,13 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
"version": "8.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
"System.Runtime.TieredCompilation": false
}
}

View file

@ -1,7 +1,7 @@
<?xml version="1.0" ?>
<Prebuild version="1.10" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.10.xsd">
<!-- <Solution activeConfig="Debug" name="OpenSim" path="./" version="0.5.0-$Rev$" forceFrameworkVersion="v4_6"> -->
<Solution activeConfig="Release" name="OpenSim" path="./" version="0.5.0-$Rev$" frameworkVersion="net6_0">
<Solution activeConfig="Release" name="OpenSim" path="./" version="0.5.0-$Rev$" frameworkVersion="net8_0">
<Configuration name="Debug" >
<Options>
<CompilerDefines>TRACE</CompilerDefines>

View file

@ -2,7 +2,7 @@
copy bin\System.Drawing.Common.dll.win bin\System.Drawing.Common.dll
dotnet bin\prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
dotnet bin\prebuild.dll /target vs2022 /targetframework net8_0 /excludedir = "obj | bin" /file prebuild.xml
@echo Creating compile.bat
rem To compile in debug mode

View file

@ -19,7 +19,7 @@ case "$1" in
*)
cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
dotnet bin/prebuild.dll /target vs2022 /targetframework net6_0 /excludedir = "obj | bin" /file prebuild.xml
dotnet bin/prebuild.dll /target vs2022 /targetframework net8_0 /excludedir = "obj | bin" /file prebuild.xml
echo "dotnet build -c Release OpenSim.sln" > compile.sh
chmod +x compile.sh