OpenSim using .NET 4.8


From 11th September 2020, OpenSim can be built using .NET 4.8 as well as the current default .NET4.6. .NET 4.8 and the necessary compiler tools can be made available by installing Visual Studio 2022 Community Edition (Visual Studio 2019 works fine too).

OpenSim using .NET 4.8

Visual Studio 2022 Core plus additional modules:

  • NET Framework 4.8 SDK
  • .NET Framework 4.8 targeting pack
  • C# and Visual Basic Roslyn compilers

Then use runprebuild48.bat and compile.bat

OpenSim using .NET 4.6

For continued use of .NET 4.6 OpenSim also needs:

  • .NET Framework 4.6 targeting pack
  • Note that the .NET Framework 4.6 SDK is NOT NEEDED.

Then use runprebuild.bat and compile.bat

Visual Studio 2022 Module Installation

Install individual modules at initial installation time or later via
     Visual Studio 2022 -> Tools -> Get Tools and Features -> Individual Components

Resgen

For Diva Wifi addon module language resources generation, you also need to ensure that the PATH environmental variable has resgen.exe and al.exe tools on the path.
     C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools

This entry was posted in OpenSim and tagged . Bookmark the permalink.

1 Response to OpenSim using .NET 4.8

  1. bat says:

    OpenSim code for .NET6.0 is currently in a development branch (dotnet6) as at 24-Oct-2022…
    http://opensimulator.org/viewgit/?a=shortlog&p=opensim&h=refs/heads/dotnet6

    Visual Studio (Community) 2022 or later is needed.

    Then add the .NET6.0 SDK, Runtime and Desktop Run time via the downloader at
    https://dotnet.microsoft.com/en-us/download/dotnet/6.0

    runprebuild and compile.

    copy file bin\System.Drawing.Common.dll.win to bin\System.Drawing.Common.dll if this is not already in place.

Comments are closed.