Installing .NET 8.0.0 Fails

Hello, am trying to run a exe file using “wine” it says

134:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0134:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x000003ff,0000000000000000,0x0001,0x00000000,00007FFFFE27FD90,0000000000000000): stub
0134:err:eventlog:ReportEventW L"Description: A .NET application failed.\n"
0134:err:eventlog:ReportEventW L"Application: Assistant.exe\n"
0134:err:eventlog:ReportEventW L"Path: Z:\\home\\femscout\\Downloads\\Assistant.exe\n"
0134:err:eventlog:ReportEventW L"Message: You must install .NET to run this application.\n"
0134:err:eventlog:ReportEventW L"\n"
0134:err:eventlog:ReportEventW L"App: Z:\\home\\femscout\\Downloads\\Assistant.exe\n"
0134:err:eventlog:ReportEventW L"Architecture: x64\n"
0134:err:eventlog:ReportEventW L"App host version: 8.0.0\n"
0134:err:eventlog:ReportEventW L".NET location: Not found\n"
0134:err:eventlog:ReportEventW L"\n"
0134:err:eventlog:ReportEventW L"Learn more:\n"
0134:err:eventlog:ReportEventW L"https://aka.ms/dotnet/app-launch-failed\n"
0134:err:eventlog:ReportEventW L"\n"
0134:err:eventlog:ReportEventW L"Download the .NET runtime:\n"
0134:err:eventlog:ReportEventW L"https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win-x64&os=win10&apphost_version=8.0.0\n"
0134:err:eventlog:ReportEventW L"\n"
0134:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub

i tried running

sudo pacman -S dotnet-runtime-8.0 

& 

sudo pacman -S dotnet-sdk-8.0 

running dotnet -v

gives me the error

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET program, but dotnet--v does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

wrong approach to the problem

that is not how wine works

the dotnet needs to be a Windows one - not installable via pacman or AUR
whatever is missing or needed needs to be installed via wine

many windows applications have one or multiple entries in the winehq database on how they are to be installed and so on and so forth …

not a problem you can even begin to solve via pacman and native Linux packages

It seems you might need to educate yourself on how to use WINE.

Either of these links might be a good place to start, but there are likely many more an Internet search away.

Regards.

  1. What is your goal?
  2. Is your goal to develop application based on dotnet framework?
  3. Is your goal to run a windows application which requires dotnet runtime?
  4. Which application are you trying to run?

If your goal is to run a windows application using wine you need to install the support tools using wine.

when i download lutris, it fails when i use the pacman version,

and gives me that error when i launch lutris

Lutris has no dependency on dotnet and the version in the repo installs fine

 $ pamac info lutris
Name                  : lutris
Version               : 0.5.18-3
Description           : Open Gaming Platform
URL                   : https://lutris.net
Licenses              : GPL-3.0-or-later
Repository            : extra
Installed Size        : 10,2 MB
Groups                : --
Depends On            : cabextract curl glib2 gnome-desktop gtk3
                        hicolor-icon-theme mesa-utils p7zip psmisc
                        python-cairo python-certifi python-dbus
                        python-distro python-gobject python-lxml
                        python-moddb python-pillow python-requests
                        python-yaml unzip webkit2gtk-4.1
                        xdg-desktop-portal-impl xdg-utils xorg-xrandr
Optional Dependencies : fluidsynth: For games that have MIDI music [Installed]
                        gamemode: Allows games to request a temporary set of optimisations
                        gamescope: Draw the game window isolated from your desktop
                        gvfs: GVFS backend [Installed]
                        innoextract: Extract Inno Setup installers
                        lib32-gamemode: Allows games to request a temporary set of optimisations
                        lib32-glibc: for 32bit games support [Installed]
                        lib32-mangohud: Display the games' FPS + other information
                        lib32-vkd3d: DirectX 12 support
                        lib32-vulkan-icd-loader: Vulkan support [Installed]
                        libayatana-appindicator: tray icon support [Installed]
                        linux-steam-integration: start Steam with LSI
                        mangohud: Display the games' FPS + other information
                        python-evdev: Controller support
                        python-pefile: Extract icons from Windows executables
                        python-protobuf: BattleNet integration
                        python-pypresence: Discord Rich Presence integration
                        umu-launcher: For running games through Proton
                        vkd3d: DirectX 12 support
                        vulkan-icd-loader: Vulkan support [Installed]
                        vulkan-tools: Vulkan support [Installed]
                        wine: easiest way to get all the libraries missing from the Lutris runtime
                        winetricks: use system winetricks
Provides              : --
Replaces              : --
Conflicts With        : --
Packager              : Mark Wagie <mark@manjaro.org>
Build Date            : ons 08 jan 2025 19:24:41 CET
Validated By          : MD5 Sum  SHA-256 Sum  Signature
Screenshot

cracked or hacked games

You provide next to no details when responding so I am beginning to think - where did you obtain this executable?

As per Forum Rules - Manjaro it should be obvious that asking for help with illegally obtained games is strictly forbidden.

Criminal solicitation is strictly forbidden.

In this context, “criminal solicitation” shall mean, “To actively or passively inform about, facilitate, incite, move, or persuade others to some act of lawlessness or illegal activity.”

Therefore, do not post discussions about or link to criminal solicitation in any form. This includes, but is not limited to information or links to facilitate illegal drug use, theft, network intrusion, creation of code for malicious purposes, prohibited software copying, prohibited use of copyrighted/patented material, so-called “warez”, or sites which provide torrents or links to such content. Illegal content will be removed swiftly and dealt with in full accordance with known applicable law.

Beyond the above, please take note of the following very important information

As it is located in Germany, the Manjaro forum server is under German law. German law is quite strict when it comes to copyright protection. The relevant laws are complicated and change fast. We don’t endorse any illegal use of copyrighted material. Therefore, we reserve the right to delete any postings that include copyrighted material, links that make copyrighted material illegally available, and/or postings that advocate the use of software that is used to use copyrighted material in an illegal way. There are many pages on the internet that deal with copyright infringements.

forum.manjaro.org is not a site for copyright violations.

Wine - ArchWiki

Winetricks is a script to allow one to install base requirements needed to run Windows programs. Installable components include DirectX 9.x, MSXML (required by Microsoft Office 2007 and Internet Explorer), Visual Runtime libraries and many more.

Install the winetricks package (or alternatively winetricks-git AUR). Then run it with:

winetricks

For using GUI you can install either zenity(GTK) or kdialog(Qt).

How to install an MS.NET framework through Winetricks - #2 by kohiruu - Support - Lutris Forums

Or install wine-mono

Wine Mono · Wiki · wine / wine · GitLab

Mono is an open-source and cross-platform implementation of the .NET Framework.
Wine Mono is a fork of Mono that Wine uses to run .NET Framework applications.