Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: mscoree.dll not found even when dotnet48 installed.

Open Dandraghas opened this issue 1 year ago • 3 comments

Describe the bug

there was an application that requires dotnet48 to run im installed dotnet48 from bottles dependencies menu. Installation was succeded, but when i try to start application i get this:

002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).
0024:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"REDACTED.exe" cannot be loaded
0024:err:module:LdrInitializeThunk Importing dlls for L"Z:\\run\\user\\1000\\doc\\REDACTED\\REDACTED.exe" failed, status c0000135

after investigation i found that mscoree was set to 'native (Windows)' i changed it to 'Native Then Builtin' but it didnt help now application i trying to run just dont launch at all.

To Reproduce

  1. Create Bottle
  2. Install dotnet48
  3. Run application
  4. See error

Package

Flatpak from Flathub

Distribution

Fedora 38

Debugging Information

Official Package: true
Version: '51.6'
DE/WM: plasmax11
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-530-41-03/extra/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.2.14-300.fc38.x86_64
Disk:
    Total: 8328941568
    Free: 8328773632
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 6.9GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

Dandraghas avatar May 07 '23 19:05 Dandraghas

I am having the same problem, not only with dotnet48 but with dotnet40 too.

glu8716 avatar May 10 '23 14:05 glu8716

Also having the same problem.

I tried installing dotnet48 and dotnet40 but Subnautica Nitrox wouldn't recognize it.

The weird thing is that (in C:/windows/) system32 and syswow64 contain mscoree.dll files.

But nothing changed when I copied from those directories to the lib directory (which fixed issues in the past) and the "main" one (the one that contains the executable).

I also tried to run winetricks dotnet48 which added a C:\\windows\\system32\\winemenubuilder.exe line to the logs that I don't remember seeing before and probably probably also broke a lot of stuff.

Dinhero21 avatar Mar 09 '24 01:03 Dinhero21

Specs:

             .',;::::;,'.                dinhero21@fedora 
         .';:cccccccccccc:;,.            ---------------- 
      .;cccccccccccccccccccccc;.         OS: Fedora Linux 39 (KDE Plasma) x86_64 
    .:cccccccccccccccccccccccccc:.       Host: X570 Phantom Gaming 4 
  .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 6.7.7-200.fc39.x86_64 
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 1 hour, 30 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 3711 (rpm), 69 (flatpak) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: zsh 5.9 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 1920x1080 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: Plasma 5.27.10 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: KWin 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Theme: [Plasma], Breeze [GTK2/3] 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal: konsole 
cccccc;dNMWXXXWM0::cccccccccccccc:,      Terminal Font: MesloLGS Nerd Font Mono 10 
cccccccc;.:odl:.;cccccccccccccc:,.       CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz 
:cccccccccccccccccccccccccccc:'.         GPU: NVIDIA GeForce RTX 4070 
.:cccccccccccccccccccccc:;,..            Memory: 6965MiB / 32009MiB 
  '::cccccccccccccc::;,.

(also Fedora)

Dinhero21 avatar Mar 09 '24 01:03 Dinhero21