move minimal dotnet version to 8
This commit is contained in:
@@ -11,7 +11,7 @@ get or update source from git
|
|||||||
## Requirements
|
## Requirements
|
||||||
To building under Windows, the following is required:
|
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
|
optionally also
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ Now just run `OpenSim.exe` from the `bin` folder, and set up the region.
|
|||||||
|
|
||||||
## Requirements
|
## 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
|
* libgdiplus
|
||||||
|
|
||||||
if you have mono 6.x complete, you already have libgdiplus, otherwise you need to install it
|
if you have mono 6.x complete, you already have libgdiplus, otherwise you need to install it
|
||||||
|
|||||||
@@ -120,7 +120,8 @@ namespace Prebuild.Core.Nodes
|
|||||||
net5_0,
|
net5_0,
|
||||||
net6_0,
|
net6_0,
|
||||||
net7_0,
|
net7_0,
|
||||||
net8_0
|
net8_0,
|
||||||
|
net9_0
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ namespace Prebuild.Core.Targets
|
|||||||
case FrameworkVersion.net6_0:
|
case FrameworkVersion.net6_0:
|
||||||
case FrameworkVersion.net7_0:
|
case FrameworkVersion.net7_0:
|
||||||
case FrameworkVersion.net8_0:
|
case FrameworkVersion.net8_0:
|
||||||
|
case FrameworkVersion.net9_0:
|
||||||
return "ToolsVersion=\"17.0\"";
|
return "ToolsVersion=\"17.0\"";
|
||||||
case FrameworkVersion.netstandard2_0:
|
case FrameworkVersion.netstandard2_0:
|
||||||
case FrameworkVersion.v4_8:
|
case FrameworkVersion.v4_8:
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ Please see BUILDING.md
|
|||||||
|
|
||||||
# Running OpenSim on Windows
|
# 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
|
To run OpenSim from a command prompt
|
||||||
@@ -30,7 +30,7 @@ To run OpenSim from a command prompt
|
|||||||
|
|
||||||
You will need
|
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
|
* libgdiplus
|
||||||
|
|
||||||
if you have mono 6.x complete, you already have libgdiplus, otherwise you need to install it
|
if you have mono 6.x complete, you already have libgdiplus, otherwise you need to install it
|
||||||
|
|||||||
BIN
bin/prebuild.dll
BIN
bin/prebuild.dll
Binary file not shown.
@@ -1,11 +1,13 @@
|
|||||||
{
|
{
|
||||||
"runtimeOptions": {
|
"runtimeOptions": {
|
||||||
"tfm": "net6.0",
|
"tfm": "net8.0",
|
||||||
"framework": {
|
"framework": {
|
||||||
"name": "Microsoft.NETCore.App",
|
"name": "Microsoft.NETCore.App",
|
||||||
"version": "6.0.0"
|
"version": "8.0.0"
|
||||||
},
|
},
|
||||||
"configProperties": {
|
"configProperties": {
|
||||||
|
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
|
||||||
"System.Runtime.TieredCompilation": false
|
"System.Runtime.TieredCompilation": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<Prebuild version="1.10" xmlns="http://dnpb.sourceforge.net/schemas/prebuild-1.10.xsd">
|
<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="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" >
|
<Configuration name="Debug" >
|
||||||
<Options>
|
<Options>
|
||||||
<CompilerDefines>TRACE</CompilerDefines>
|
<CompilerDefines>TRACE</CompilerDefines>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
copy bin\System.Drawing.Common.dll.win bin\System.Drawing.Common.dll
|
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
|
@echo Creating compile.bat
|
||||||
rem To compile in debug mode
|
rem To compile in debug mode
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ case "$1" in
|
|||||||
*)
|
*)
|
||||||
|
|
||||||
cp bin/System.Drawing.Common.dll.linux bin/System.Drawing.Common.dll
|
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
|
echo "dotnet build -c Release OpenSim.sln" > compile.sh
|
||||||
chmod +x compile.sh
|
chmod +x compile.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user