tsunamods-codes/7th-Heaven

"Could not start .NET Desktop Runtime 7.0.0" message if mods are enabled

otavio-silva opened this issue · 0 comments

Describe the bug
If any mods are enabled, the error message box triggers saying that .NET Desktop Runtime is not installed, even though it is.
If mods are disabled, it works as expected.

** Versions **
[X] Tested on latest stable version
[ ] Pre-release only bug

To Reproduce
Steps to reproduce the behavior:

  1. Download and install 7th Heaven through the .exe installer available here
  2. Click on "Play" without mods enabled, works as expected
  3. Download any mod
  4. Click on play with mod enabled, sees error message

Expected behavior
Game to boot and play as expected.

Screenshots
With [Tsunamods] Wizard Staff enabled, I get the error:
image

Desktop (please complete the following information):

  • OS: Microsoft Windows 11 Pro
  • Version: 23H2
  • Build: 22631.3085

Additional context
.NET Desktop Runtime is properly installed and reachable. The command dotnet --list-runtimes gives the output:

Microsoft.AspNetCore.App 7.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

And the command winget list --name .NET gives:

Nome                                         ID                                           Versão      Disponível Origem
-----------------------------------------------------------------------------------------------------------------------
Microsoft .NET Runtime - 7.0.15 (x64)        Microsoft.DotNet.Runtime.7                   7.0.15                 winget
Microsoft ASP.NET Core 7.0.7 - Shared Frame… Microsoft.DotNet.AspNetCore.7                7.0.7       7.0.15     winget
Microsoft .NET Runtime - 8.0.1 (x64)         Microsoft.DotNet.Runtime.8                   8.0.1                  winget
Microsoft .NET Runtime - 8.0.1 (x86)         Microsoft.DotNet.Runtime.8                   8.0.1                  winget
Microsoft .NET Runtime - 6.0.26 (x64)        Microsoft.DotNet.Runtime.6                   6.0.26                 winget
Microsoft .NET Runtime - 7.0.15 (x86)        Microsoft.DotNet.Runtime.7                   7.0.15                 winget
Microsoft .NET Runtime - 6.0.26 (x86)        Microsoft.DotNet.Runtime.6                   6.0.26                 winget
Microsoft .Net Native Framework Package 2.2  Microsoft.NET.Native.Framework.2.2_8wekyb3d… 2.2.29512.0
Microsoft .Net Native Runtime Package 2.2    Microsoft.NET.Native.Runtime.2.2_8wekyb3d8b… 2.2.28604.0
Microsoft .Net Native Runtime Package 2.1    Microsoft.NET.Native.Runtime.2.1_8wekyb3d8b… 2.1.26424.0
Microsoft .Net Native Framework Package 2.1  Microsoft.NET.Native.Framework.2.1_8wekyb3d… 2.1.27427.0