https://bugs.winehq.org/show_bug.cgi?id=44562
Bug ID: 44562 Summary: NET 4.x Error messages when running any application Product: Wine Version: 3.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: linards.liepins@gmail.com Distribution: ---
After I run any application (both from shortcut or from terminal), I am getting error message, that is opening the following Microsoft's help page:
https://support.microsoft.com/en-us/help/2715633/shim-errors-for-the-net-fra...
System details:
[linards@kompiic Lejupielādes]$ sh winetricks list-installed ------------------------------------------------------ You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. ------------------------------------------------------ Using winetricks 20180217-next - sha256sum: 6dd23a6c59febc56a2c5a31aabc0c1b92545ec176c64b494aa088c5d993bf588 with wine-3.1 and WINEARCH=win64 binkw32 d3dx9_42 dotnet40 dotnet452 dotnet_verifier gmdls l3codecx lucida mfc40 mfc42 physx steam tahoma vcrun2008 vcrun2012 vcrun2015
[linards@kompiic Lejupielādes]$ sudo dnf info wine Last metadata expiration check: 0:00:08 ago on Tue 20 Feb 2018 08:57:09 AM EET. Installed Packages Name : wine Version : 3.1 Release : 2.fc27 Arch : x86_64 Size : 0.0 Source : wine-3.1-2.fc27.src.rpm Repo : @System
From repo : updates-testing
Summary : A compatibility layer for windows applications URL : http://www.winehq.org/ License : LGPLv2+ Description : Wine as a compatibility layer for UNIX to run Windows applications. This : package includes a program loader, which allows unmodified Windows : 3.x/9x/NT binaries to run on x86 and x86_64 Unixes. Wine can use native system : .dll files if they are available. : : In Fedora wine is a meta-package which will install everything needed for wine : to work smoothly. Smaller setups can be achieved by installing some of the : wine-* sub packages.
https://bugs.winehq.org/show_bug.cgi?id=44562
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|NET 4.x Error messages when |NET 4.x - rundll32.exe - |running any application |Error messages when running | |any application
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #1 from Linards linards.liepins@gmail.com --- Similar error: https://forum.winehq.org/viewtopic.php?f=9&t=26023
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #2 from Linards linards.liepins@gmail.com --- Same on wine-3.2
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #3 from Linards linards.liepins@gmail.com --- Possible Dupe of #40673
https://bugs.winehq.org/show_bug.cgi?id=44562
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|NET 4.x - rundll32.exe - |.NET 4.x - rundll32.exe - |Error messages when running |Error messages when running |any application |any application
https://bugs.winehq.org/show_bug.cgi?id=44562
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords| |dotnet
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
I guess you are talking about 'Unable to find a version of the runtime to run this application' errors? Your list contains .NET Framework 4.0 and 4.5 but not any earlier version.
Since left out the important information which apps/games (executables/versions) actually trigger the message I can only guess these are .NET "legacy" apps present in your WINEPREFIX that were developed/built against older versions of .NET Frameworks/CLR.
You could try to add proper 'useLegacyV2RuntimeActivationPolicy' settings for all affected .NET legacy app .config files (or create if not present)
--- snip --- <?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration> --- snip ---
Technical information about the setting:
http://web.archive.org/web/20130128072944/http://www.marklio.com/marklio/Per...
CLR runtime/version matrix:
https://msdn.microsoft.com/en-us/magazine/ee819091.aspx
IMHO the bug is INVALID. This is not a Wine problem.
The same problem would exist with vanilla Windows XP/Vista with no prior .NET Frameworks (2.0, 3.5, SP1/2) installed.
Regards
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #5 from Linards linards.liepins@gmail.com --- (In reply to Anastasius Focht from comment #4)
Hello folks,
I guess you are talking about 'Unable to find a version of the runtime to run this application' errors? Your list contains .NET Framework 4.0 and 4.5 but not any earlier version.
Since left out the important information which apps/games (executables/versions) actually trigger the message I can only guess these are .NET "legacy" apps present in your WINEPREFIX that were developed/built against older versions of .NET Frameworks/CLR.
You could try to add proper 'useLegacyV2RuntimeActivationPolicy' settings for all affected .NET legacy app .config files (or create if not present)
--- snip ---
<?xml version="1.0"?>
<configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration> --- snip ---
Technical information about the setting:
http://web.archive.org/web/20130128072944/http://www.marklio.com/marklio/ PermaLink,guid,ecc34c3c-be44-4422-86b7-900900e451f9.aspx
CLR runtime/version matrix:
https://msdn.microsoft.com/en-us/magazine/ee819091.aspx
IMHO the bug is INVALID. This is not a Wine problem.
The same problem would exist with vanilla Windows XP/Vista with no prior .NET Frameworks (2.0, 3.5, SP1/2) installed.
Regards
Hey,
I understand, but I also have to repeat, that it happens when running literally anything. The terminal output is pretty much same as in linked/duped tickets, mentioning missing mscorew stuff.
So you are ultimately saying that his is not Wine's problem because: - Something is requiring older .NET Infrastructure / binaries and currently I have none installed, therefore Wine has logically nothing to consume and this error is pretty reasonable; - If I can find this "Something", then I can work-around by pumping in some run-time config so that it gets picked up from root by .NET Assemblies...
I still then have following questions: - What about Win7+? Are they also somewhat requiring those old libraries? I thought that bundled .NET is fully backwards compatible and incremental and therefore Win7+ does not need any explicit pre-.NET 4.x enablement. I am wrong by this assumption then?
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=44562
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=44562
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #6 from Linards linards.liepins@gmail.com --- Still present on wine-4.0-rc6 (staging)
https://bugs.winehq.org/show_bug.cgi?id=44562
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|.NET 4.x - rundll32.exe - |.NET 4.x - rundll32.exe - |Error messages when running |Error messages when running |any application |any application or starting | |wine after update
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #7 from Linards linards.liepins@gmail.com --- Created attachment 63368 --> https://bugs.winehq.org/attachment.cgi?id=63368 winecfg debug log
Still present on wine 4.0 (Staging).
Attaching debug log.
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #8 from Linards linards.liepins@gmail.com --- Still present in wine 4.2 (staging)
https://bugs.winehq.org/show_bug.cgi?id=44562
--- Comment #9 from Linards linards.liepins@gmail.com --- Assuming fixed.
This did not happen recently when upgrading from wine 4.12.1 to wine-4.13.
Sadly this caused no DirectX9 applications to work anymore. Details in https://bugzilla.redhat.com/show_bug.cgi?id=1737796
https://bugs.winehq.org/show_bug.cgi?id=44562
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #10 from Ken Sharp imwellcushtymelike@gmail.com --- Seen as nobody else had a problem even close to similar, and this is a distro package, not compiled from source, I doubt that this was a valid bug in the first place.
https://bugs.winehq.org/show_bug.cgi?id=44562
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv@dawncrow.de
--- Comment #11 from André H. nerv@dawncrow.de --- closing invalid