How to actually use .NET Framework under Wine environemnt?

Questions about Wine on Linux
Locked
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

Hello.

I want to run a .NET application under Wine with .NET Framework 4.7, not with Mono. Application uses WPF, which TTBOMK isn't supported by Wine.

According to this site, .NET Framework 4.7.1 is supposed to work with Wine:
https://appdb.winehq.org/objectManager. ... n&iId=2586

Great! So, I have run .NET Framework 4.7.1 full (offline) installer under Wine:

Code: Select all

$ wine ./ndp471-kb4033342-x86-x64-allos-enu.exe
Installer did take ages to complete, but apparently completed successfully:
https://i.imgur.com/TH9HCOr.png

Yeah, so far so good. But, after that, when I try to run the application, I still get this:

Code: Select all

$ wine ./appgui.exe 
0104:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
Why is that? :x :cry: :evil: :oops:

How do I tell Wine to actually start the executable with the installed .NET Framework runtime ???

Please help! Thank you. Regards :mrgreen:


Before you ask, here is my system spec:

Code: Select all

$ lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 22.10
Release:        22.10

Code: Select all

$ wine --version
wine-7.0 (Ubuntu 7.0~repack-8)
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to actually use .NET Framework under Wine environemnt?

Post by jkfloris »

Manually installing the .Net Framework is quite difficult. You can look how winetricks does the trick.

It is probably easier to leave the installation to winetricks.

Code: Select all

sudo apt install winetricks
sudo winetricks --self-update
winetricks -q dotnet471
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

Thank you for the hint! :D

I tried installing the .NET FX with winetricks command, as suggest. It did a few things, but now it keeps on printing messages like this and doesn't seem to finish:

Code: Select all

06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
06fc:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06fc, blocked by 06f4, retrying (60 sec)
0764:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0764, blocked by 06f4, retrying (60 sec)
077c:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 077c, blocked by 06f4, retrying (60 sec)
06e4:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 06f4, retrying (60 sec)
074c:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 074c, blocked by 07ec, retrying (60 sec)
07ec:err:sync:RtlpWaitForCriticalSection section 00650094 "dlls/ntdll/heap.c: main process heap section" wait timed out in thread 07ec, blocked by 06f4, retrying (60 sec)
0768:err:sync:RtlpWaitForCriticalSection section 7BC64880 "dlls/ntdll/thread.c: fls_section" wait timed out in thread 0768, blocked by 07ec, retrying (60 sec)
Is that normal? How long do I need to wait ???
Last edited by fodoxo7573 on Thu Oct 20, 2022 5:31 pm, edited 3 times in total.
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

It was still "hanging" and printing those massages this morning, so I finally decided to abort it :roll:

Any more ideas? :mrgreen:
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to actually use .NET Framework under Wine environemnt?

Post by jkfloris »

The installation of .Net can be hit-and-miss.

Usually the next tips ensure the installation often succeeds:
- Make sure Wine and winetricks are up-to-date.
(This tip does not apply to you. You already updated winetricks and there are no WineHQ Wine packages for Ubuntu 22.10 yet.)

- Use a clean wineprefix.
You can do this by using the WINEPREFIX variable or by renaming the .wine directory.
For example: WINEPREFIX=~/dotnet winetricks -q dotnet471

- Install a higher version of .Net.
For example: winetricks -q dotnet48
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

jkfloris wrote: Sat Oct 22, 2022 4:32 am - Install a higher version of .Net.
For example: winetricks -q dotnet48
Thank you for your hint!

This, at least, went trough in finite time, even though there were various messages like:

Code: Select all

0364:err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be
Now, when I try to start the app, it at least doesn't complain about missing Mono.

But, instead, I now get:

Code: Select all

$ wine ./appgui.exe 
010c:err:ole:CoGetContextToken apartment not initialised
0104:err:eventlog:ReportEventW L"Application: appgui.exe\nFramework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Unrecoverable system error.
Stack: at System.Environment.FailFast(System.String)\n at MS.Internal.Shapin"...
:x :cry: :evil:

Where do I go from here, please?!
Last edited by fodoxo7573 on Sat Oct 22, 2022 1:43 pm, edited 6 times in total.
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

So, there is really no way to get the .NET Framework working under Wine environemnt?

Why does the database say "Silver" or even "Gold" rating for various .NET Framework versions, when in reality they cannot be installed? :cry: :cry: :cry:
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to actually use .NET Framework under Wine environemnt?

Post by jkfloris »

What program is this about? Can I test it somewhere?
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

jkfloris wrote: Sat Nov 05, 2022 6:46 pm What program is this about? Can I test it somewhere?
Program I try to run:
https://www.mediafire.com/file/iufb2154 ... i.zip/file

Just for the notes, program work 100% nice in Windows 7 up to 11 computers:
https://i.imgur.com/aq9l72i.png
https://i.imgur.com/qmrpryT.png
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to actually use .NET Framework under Wine environemnt?

Post by jkfloris »

If I start the program in a clean Wineprefix with dotnet46, it seems to work.
appgui.png
Can you post the output of:

Code: Select all

WINEDEBUG=fixme+all wine appgui.exe
The output I (Debian Sid, Wine 7.20) get:

Code: Select all

0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00dc:fixme:heap:RtlSetHeapInformation handle 0000000000FF0000, info_class 0, info 00000000006AF6A0, size 4 stub!
00dc:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001800650FD, 28) stub
00dc:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000286586C, 28) stub
00dc:fixme:heap:GetNumaHighestNodeNumber semi-stub: 00000000006AFA38
00dc:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 0000000002170000) stub
00dc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00e4:err:ole:CoGetContextToken apartment not initialised
00dc:fixme:nls:get_dummy_preferred_ui_language (0x8 00000000006A9C50 0000000000000000 00000000006A9C54) returning a dummy value (current locale)
00dc:fixme:nls:get_dummy_preferred_ui_language (0x8 00000000006A9C50 0000000000869A60 00000000006A9C54) returning a dummy value (current locale)
00dc:fixme:nls:LCMapStringEx unsupported lparam 869f00
00dc:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000003765818, 40) stub
00dc:fixme:msg:ChangeWindowMessageFilter c034 00000001
00dc:fixme:dwmapi:DwmAttachMilContent (0000000000010054) stub
0124:fixme:gdi:GdiEntry13 stub
0124:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
0124:fixme:d3d:wined3d_check_device_format_conversion output 0000000000881DF0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0124:fixme:d3d:wined3d_check_device_format_conversion output 0000000000881E70, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
00dc:fixme:crypt:SystemFunction041 (000000000087F518, 10, 0): stub [RtlDecryptMemory]
00dc:fixme:virtual:NtFlushProcessWriteBuffers stub
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF858, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00dc:fixme:win:RegisterPowerSettingNotification (0000000000010066,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
00dc:fixme:wtsapi:WTSRegisterSessionNotification Stub 000000000002005C 0x00000000
00dc:fixme:msg:ChangeWindowMessageFilterEx 000000000002005C c031 1 00000000006AE050
00dc:fixme:msg:ChangeWindowMessageFilterEx 000000000002005C 111 1 00000000006AE050
00dc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000000090C2E0 00000000006A3DA0 00000000006A4750 0000000000000000
00dc:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0000000000956B80 0 75 0000000000956930): stub
00dc:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 00000000006A6E18, 000000000097D130, 00000000006A6E20, 00000000006A6E10
00dc:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 00000000006A6E18, 000000000097D130, 00000000006A6E20, 00000000006A6E10
00dc:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 00000000006A6E18, 000000000097D130, 00000000006A6E20, 00000000006A6E10
00dc:fixme:combase:RoGetActivationFactory (L"Windows.Foundation.Diagnostics.AsyncCausalityTracer", {50850b26-267e-451b-a890-ab6a370245ee}, 00000000006AB118): semi-stub
00dc:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
0124:fixme:d3d:wined3d_check_device_format_conversion output 0000000000881DF0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0124:fixme:d3d:wined3d_check_device_format_conversion output 0000000000881E70, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
012c:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
012c:fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
00dc:fixme:imm:ImeSetActiveContext (000000000001004A, 1): stub
00dc:fixme:imm:ImmReleaseContext (000000000002005C, 000000000001004A): stub
00ec:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
00ec:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
0124:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 000000027A8FC040.
0124:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 000000027A8FC040.
0130:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #6:
0130:fixme:d3d_shader:print_glsl_info_log     Vertex info
0130:fixme:d3d_shader:print_glsl_info_log     -----------
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[3]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[4]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[5]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[6]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[7]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[8]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[9]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[10]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 000000027A8FC040.
0124:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 000000027A8FC040.
0130:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #10:
0130:fixme:d3d_shader:print_glsl_info_log     Vertex info
0130:fixme:d3d_shader:print_glsl_info_log     -----------
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[2].zw" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[4]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[5]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[6]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[7]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[8]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[9]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[10]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[11]" might be used before being initialized
0124:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 000000027A8FC040.
0124:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 000000027A8FC040.
0130:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #16:
0130:fixme:d3d_shader:print_glsl_info_log     Vertex info
0130:fixme:d3d_shader:print_glsl_info_log     -----------
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[2].zw" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[4]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[5]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[6]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[7]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[8]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[9]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[10]" might be used before being initialized
0130:fixme:d3d_shader:print_glsl_info_log     0(25) : warning C7050: "vs_out[11]" might be used before being initialized
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF858, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00e4:fixme:ole:thread_context_callback_ContextCallback 0000000001BF9388, 0000000002628AAC, 000000001BCAF758, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 0000000000000000
00dc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 0000000000989B58 00000000006AA270 00000000006AAC20 0000000000000000
00dc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0000000000870270 00000000006AA5F0 00000000006AAFA0 0000000000000000
00dc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0000000000870270 00000000006AA5F0 00000000006AAFA0 0000000000000000
0130:fixme:d3d:swapchain_blit_gdi Using GDI present.
00dc:fixme:win:UnregisterPowerSettingNotification (00000000DEADBEEF): stub
00dc:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 000000000002005C
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by qwertymnb »

Code: Select all

Message: Unrecoverable system error.
Stack: at System.Environment.FailFast(System.String)\n at MS.Internal.Sh
That can probably be worked around with 'winetricks arial'
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

jkfloris wrote: Sun Nov 06, 2022 7:29 pm If I start the program in a clean Wineprefix with dotnet46, it seems to work.
appgui.png
Can you post the output of:

Code: Select all

WINEDEBUG=fixme+all wine appgui.exe
Thank you for your suggestion !!!! :D

Here is the output that I get:

Code: Select all

$ WINEDEBUG=fixme+all wine ./appgui.exe
0104:fixme:heap:RtlSetHeapInformation 00000000009F0000 0 000000000011F6E0 4 stub
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001800725B7, 28) stub
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000000017ACDE4, 28) stub
0104:fixme:kernelbase:QuirkIsEnabled3 (000000000011EF50, 00000000FFFFFFFF) stub!
0104:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000011F9A8
0104:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 0000000000FB0000) stub
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
010c:err:ole:CoGetContextToken apartment not initialised
0104:fixme:path:parse_url failed to parse L"PresentationFramework"
0104:fixme:path:parse_url failed to parse L"WindowsBase"
0104:fixme:path:parse_url failed to parse L"System.Xaml"
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000001B07AEF1, 28) stub
0104:fixme:path:parse_url failed to parse L"System"
0104:fixme:path:parse_url failed to parse L"System.Configuration"
0104:fixme:path:parse_url failed to parse L"System.Xml"
0104:fixme:path:parse_url failed to parse L"PresentationCore"
0104:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0104:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000119B74 0000000000000000 0000000000119B70) returning a dummy value (current locale)
0104:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000119B74 000000000064C2E0 0000000000119B70) returning a dummy value (current locale)
0104:fixme:nls:LCMapStringEx unsupported lparam 648500
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000001FED3C0, 64) stub
0104:fixme:path:parse_url failed to parse L"System.Configuration"
0104:fixme:path:parse_url failed to parse L"System.Xml"
0104:fixme:ntdll:NtQuerySystemInformation (0x000000ce,0x11bc50,0x00000008,(nil)) stub
0104:fixme:bcrypt:BCryptGetFipsAlgorithmMode 000000000011B9F0 - semi-stub
0104:fixme:path:parse_url failed to parse L"System.Core"
0104:fixme:path:parse_url failed to parse L"slunkcrypt-gui.resources"
0104:fixme:path:parse_url failed to parse L"slunkcrypt-gui.resources"
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000207F0D0, 40) stub
0104:fixme:path:parse_url failed to parse L"UIAutomationTypes"
0104:fixme:msg:ChangeWindowMessageFilter c031 00000001
0104:fixme:dwmapi:DwmAttachMilContent (000000000001004E) stub
0110:fixme:gdi:GdiEntry13 stub
0110:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
0110:fixme:d3d:wined3d_check_device_format_conversion output 0x6a8770, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0104:fixme:path:parse_url failed to parse L"PresentationFramework.classic"
0104:fixme:path:parse_url failed to parse L"UIAutomationProvider"
0104:fixme:virtual:NtFlushProcessWriteBuffers stub
0104:fixme:crypt:SystemFunction041 (00000000006AF628, 10, 0): stub [RtlDecryptMemory]
0104:fixme:wtsapi:WTSQuerySessionInformationW Unimplemented class 8
0104:fixme:win:RegisterPowerSettingNotification (000000000001005E,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
0104:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000020056 0x00000000
0104:fixme:msg:ChangeWindowMessageFilterEx 0000000000020056 c02e 1 000000000011E010
0104:fixme:msg:ChangeWindowMessageFilterEx 0000000000020056 111 1 000000000011E010
0104:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (0000000000667570 0 75 000000000067AF10): stub
0104:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0104:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x00000401,0000000000000000,0x0001,0x00000000,0000000000118390,0000000000000000): stub
0104:err:eventlog:ReportEventW L"Application: appgui.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n   at System.Environment.FailFast(System.String)\n   at MS.Internal.Shapin"...
0104:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

qwertymnb wrote: Mon Nov 07, 2022 10:08 am

Code: Select all

Message: Unrecoverable system error.
Stack: at System.Environment.FailFast(System.String)\n at MS.Internal.Sh
That can probably be worked around with 'winetricks arial'
Thank you so much !!! :mrgreen:

Now, at least we get a window, but for some reason it is all black ?!?! :shock: :shock: :shock:

Image

LOG:

Code: Select all

$ WINEDEBUG=fixme+all wine ./appgui.exe
0104:fixme:heap:RtlSetHeapInformation 00000000009F0000 0 000000000011F6E0 4 stub
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001800725B7, 28) stub
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000000017ACDE4, 28) stub
0104:fixme:kernelbase:QuirkIsEnabled3 (000000000011EF50, 00000000FFFFFFFF) stub!
0104:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000011F9A8
0104:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 0000000000FB0000) stub
0104:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
010c:err:ole:CoGetContextToken apartment not initialised
0104:fixme:path:parse_url failed to parse L"PresentationFramework"
0104:fixme:path:parse_url failed to parse L"WindowsBase"
0104:fixme:path:parse_url failed to parse L"System.Xaml"
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000001B07AEF1, 28) stub
0104:fixme:path:parse_url failed to parse L"System"
0104:fixme:path:parse_url failed to parse L"System.Configuration"
0104:fixme:path:parse_url failed to parse L"System.Xml"
0104:fixme:path:parse_url failed to parse L"PresentationCore"
0104:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0104:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000119B74 0000000000000000 0000000000119B70) returning a dummy value (current locale)
0104:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000119B74 000000000064DB80 0000000000119B70) returning a dummy value (current locale)
0104:fixme:nls:LCMapStringEx unsupported lparam 649c10
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000001FED3C0, 64) stub
0104:fixme:path:parse_url failed to parse L"System.Configuration"
0104:fixme:path:parse_url failed to parse L"System.Xml"
0104:fixme:ntdll:NtQuerySystemInformation (0x000000ce,0x11bc50,0x00000008,(nil)) stub
0104:fixme:bcrypt:BCryptGetFipsAlgorithmMode 000000000011B9F0 - semi-stub
0104:fixme:path:parse_url failed to parse L"System.Core"
0104:fixme:path:parse_url failed to parse L"slunkcrypt-gui.resources"
0104:fixme:path:parse_url failed to parse L"slunkcrypt-gui.resources"
0104:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000207F0D0, 40) stub
0104:fixme:path:parse_url failed to parse L"UIAutomationTypes"
0104:fixme:msg:ChangeWindowMessageFilter c02f 00000001
0104:fixme:dwmapi:DwmAttachMilContent (000000000001004E) stub
0110:fixme:gdi:GdiEntry13 stub
0110:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
0110:fixme:d3d:wined3d_check_device_format_conversion output 0x6afe70, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0104:fixme:path:parse_url failed to parse L"PresentationFramework.classic"
0104:fixme:path:parse_url failed to parse L"UIAutomationProvider"
0104:fixme:virtual:NtFlushProcessWriteBuffers stub
0104:fixme:crypt:SystemFunction041 (000000001C967728, 10, 0): stub [RtlDecryptMemory]
0104:fixme:wtsapi:WTSQuerySessionInformationW Unimplemented class 8
0104:fixme:win:RegisterPowerSettingNotification (000000000001005E,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
0104:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000020056 0x00000000
0104:fixme:msg:ChangeWindowMessageFilterEx 0000000000020056 c02c 1 000000000011E010
0104:fixme:msg:ChangeWindowMessageFilterEx 0000000000020056 111 1 000000000011E010
0104:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (00000000006599E0 0 75 000000001C9EA800): stub
0104:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001C989EF0 00000000001114E8 0000000000112220 0000000000000000
0104:fixme:path:parse_url failed to parse L"PresentationFramework-SystemXml"
0104:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0000000000116D50, 000000001C9FC170, 0000000000116D58, 0000000000116D48
0104:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0000000000116D50, 000000001C9FC170, 0000000000116D58, 0000000000116D48
0104:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0000000000116D50, 000000001C9FC170, 0000000000116D58, 0000000000116D48
0104:fixme:combase:RoGetActivationFactory (L"Windows.Foundation.Diagnostics.AsyncCausalityTracer", {50850b26-267e-451b-a890-ab6a370245ee}, 000000000011B048): semi-stub
0104:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
0110:fixme:d3d:wined3d_check_device_format_conversion output 0x6afe70, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0118:fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
0050:fixme:imm:ImeSetActiveContext (0x25ec60, 0): stub
0050:fixme:imm:ImmReleaseContext (0000000000010020, 000000000025EC60): stub
0104:fixme:imm:ImeSetActiveContext (0x1c9894c0, 1): stub
0104:fixme:imm:ImmReleaseContext (0000000000020056, 000000001C9894C0): stub
0110:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet implemented.
0110:fixme:seh:WerRegisterMemoryBlock (000000001B984900 10240) stub
0110:fixme:seh:WerRegisterMemoryBlock (000000001B9848A0 4) stub
0104:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 000000001CA85C68 0000000000118EB8 0000000000119BF0 0000000000000000
0104:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001CA85C40 0000000000119A98 000000000011A7D0 0000000000000000
0104:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 000000001CA85C40 0000000000119A98 000000000011A7D0 0000000000000000
0110:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet implemented.
0110:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet implemented.
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by qwertymnb »

Try 'winetricks d3dcompiler_47'

(Probably disabling d3d9 in winecfg might also work?)
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

qwertymnb wrote: Mon Nov 07, 2022 4:57 pm Try 'winetricks d3dcompiler_47'
Thank you again !!! :mrgreen:

It works, kind of. Window now is not totally black anymore, but still looks incomplete. See, icons and graphix are missing :roll:

Image
(Probably disabling d3d9 in winecfg might also work?)
How? I can not find option to disable Direct3D 9 in my "wincfg" settings. What am I missing ?!?! :shock:

Regards.
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by qwertymnb »

in winecfg look under libraries tab and add d3d9 and set it to disabled .

probably safer is this method: save lines below in file called somefile.reg

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics]
"DisableHWAcceleration"=dword:00000001

Then do 'wine reg.exe IMPORT somefile.reg'
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

Thank you, it works !!! :D :D :D

If I add "d3d9" on the Libraries tab in the wincfg and then edit it to either "Native (Windows)" or "Disabled" setting, application does look beautiful :mrgreen: :lol:

Image

Is there any difference between these two? Which one is better ???

(Note: If I change setting to "Builtin (Wine)" application looks incomplete, with missing icons/graphix again. Why this broken option is default?)


Really, thanks for all the help! But why does it have to be so complicated, with all those steps that are impossible to know for "regular" user, just to get .NET Framework running :?: :roll:

There should be some fat notice that "arial" and "d3dcompiler_47" packages must be installed, and that "d3d9" library must be added in the wincfg :wink:

Regards.
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by qwertymnb »

good that it works. It shouldn;t really be necessary to disable d3d9 usually for .net apps; i suspect your graphics driver setup is not 100% fine.

The registry method is safer, because when a program needs d3d9 it will fail to run. Or you should disable d3d9 only for this program (do 'add application' and then override to disable in library tab)
User avatar
fodoxo7573
Level 1
Level 1
Posts: 9
Joined: Thu Oct 20, 2022 2:20 pm

Re: How to actually use .NET Framework under Wine environemnt?

Post by fodoxo7573 »

qwertymnb wrote: Mon Nov 07, 2022 6:43 pm good that it works. It shouldn;t really be necessary to disable d3d9 usually for .net apps; i suspect your graphics driver setup is not 100% fine.
Just for info: D3D9 does not require disable. It works also good with the "Native (Windows)" setting. It is only setting "Builtin (Wine)" that that is bugged :o
qwertymnb wrote: Mon Nov 07, 2022 6:43 pm Or you should disable d3d9 only for this program (do 'add application' and then override to disable in library tab)
Okay !!! :mrgreen:
Locked