Running mixed assembly apps (/clr)

Questions about Wine on Linux
Locked
KrzysztofN
Newbie
Newbie
Posts: 3
Joined: Thu Aug 29, 2024 4:01 pm

Running mixed assembly apps (/clr)

Post by KrzysztofN »

Hello,

I'm new to Wine but I'm impressed by the work you've done! I'm testing if it's possible to port my app to Linux using Wine/WineLib. It seems, that the fact that the app is C++/cli doesn't help.
The app uses vcrun2022 and dotnet48. Even a blank c++ console app works till I add /clr switch to compilation.
Is there any way to make it run? Would migration to .Net 8 help? I'm using Wine-Staging on Ubuntu 24.04.

If you could suggest some/any solution..

Thanks
Krzysztof
madewokherd
Level 4
Level 4
Posts: 149
Joined: Mon Jun 02, 2008 5:03 pm

Re: Running mixed assembly apps (/clr)

Post by madewokherd »

This is part of the Wine Mono test suite (https://gitlab.winehq.org/wine-mono/wine-mono-vstests) so as far as I know, it works.
KrzysztofN
Newbie
Newbie
Posts: 3
Joined: Thu Aug 29, 2024 4:01 pm

Re: Running mixed assembly apps (/clr)

Post by KrzysztofN »

Thank you. I'll try this. I installed .net framework 4.8 so I'm not sure if mono is used was used. Last thing I see in debugger is a problem loading vcruntime140.dll and ucrtbase.dll

The only thing I googled about mono and mixed assemblies was a dacade old and refered to /clr:pure
KrzysztofN
Newbie
Newbie
Posts: 3
Joined: Thu Aug 29, 2024 4:01 pm

Re: Running mixed assembly apps (/clr)

Post by KrzysztofN »

This test sample works compiled with vc2022! There is hope, thank you!!
Locked