Some .NET things not implemented for simple app I guess

Questions about Wine on Linux
Locked
guerlando
Newbie
Newbie
Posts: 1
Joined: Wed Aug 19, 2020 4:35 am

Some .NET things not implemented for simple app I guess

Post by guerlando »

I installed a simple app (https://www.intelbras.com/pt-br/sistema ... beneficios) through the .exe installer in wine wine-5.0.2 on debian 10 and I'm getting this:

Code: Select all

user@hacking:~/.wine/drive_c/Program Files/Intelbras/SIMNext/SIM Next$ wine SIMNext.exe 
002d:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.8" not implemented
002d:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.8" not implemented

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'SIMNext.View.App' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00000] in <be5f9d0712aa474682f4895e8cf62944>:0 
   --- End of inner exception stack trace ---
  at NLog.Internal.AssemblyHelpers.GetAssemblyFileLocation (System.Reflection.Assembly assembly) [0x00028] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Internal.Fakeables.AppEnvironmentWrapper.get_EntryAssemblyLocation () [0x00005] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationFileLoader+<GetDefaultCandidateConfigFilePaths>d__13.MoveNext () [0x00121] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationFileLoader.TryLoadFromFilePaths (NLog.LogFactory logFactory) [0x00025] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationFileLoader.Load (NLog.LogFactory logFactory) [0x00000] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationWatchableFileLoader.Load (NLog.LogFactory logFactory) [0x0000c] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogFactory.get_Configuration () [0x00039] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogFactory.GetLoggerThreadSafe (System.String name, System.Type loggerType) [0x0007f] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogFactory.GetLogger (System.String name) [0x00000] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogManager.GetCurrentClassLogger () [0x0000a] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at SIMNext.View.App..cctor () [0x00000] in <c1c3c8bd8785446bb668466730ecd024>:0 
   --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'SIMNext.View.App' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Uri' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.UriParser' threw an exception. ---> System.MissingMethodException: Method not found: bool System.Runtime.Versioning.BinaryCompatibility.get_TargetsAtLeast_Desktop_V4_5()
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Uri..cctor () [0x00000] in <be5f9d0712aa474682f4895e8cf62944>:0 
   --- End of inner exception stack trace ---
  at NLog.Internal.AssemblyHelpers.GetAssemblyFileLocation (System.Reflection.Assembly assembly) [0x00028] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Internal.Fakeables.AppEnvironmentWrapper.get_EntryAssemblyLocation () [0x00005] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationFileLoader+<GetDefaultCandidateConfigFilePaths>d__13.MoveNext () [0x00121] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationFileLoader.TryLoadFromFilePaths (NLog.LogFactory logFactory) [0x00025] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationFileLoader.Load (NLog.LogFactory logFactory) [0x00000] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.Config.LoggingConfigurationWatchableFileLoader.Load (NLog.LogFactory logFactory) [0x0000c] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogFactory.get_Configuration () [0x00039] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogFactory.GetLoggerThreadSafe (System.String name, System.Type loggerType) [0x0007f] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogFactory.GetLogger (System.String name) [0x00000] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at NLog.LogManager.GetCurrentClassLogger () [0x0000a] in <66cdff0d4f0a4e7dada7fe5642505af0>:0 
  at SIMNext.View.App..cctor () [0x00000] in <c1c3c8bd8785446bb668466730ecd024>:0 
   --- End of inner exception stack trace ---
I tried activating win32 but this installation is for 64 bits.

It looks like a simple error. How can I solve i t?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Some .NET things not implemented for simple app I guess

Post by Bob Wya »

guerlando wrote: Wed Aug 19, 2020 4:40 am I installed a simple app (https://www.intelbras.com/pt-br/sistema ... beneficios) through the .exe installer in wine wine-5.0.2 on debian 10 and I'm getting this:

Code: Select all

user@hacking:~/.wine/drive_c/Program Files/Intelbras/SIMNext/SIM Next$ wine SIMNext.exe 
002d:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.8" not implemented
002d:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.8" not implemented
...
I tried activating win32 but this installation is for 64 bits.

It looks like a simple error. How can I solve it?
Hi guerlando

Obvious question, but have you tried:

Code: Select all

winetricks dotnet48
- with the winetricks Git master?

You may also need a newer (e.g. 5.15) build of Wine (or Wine Staging) as well - as the stable release of Wine has only a handle full of "safe" backported bug fixes...

Do I understand correctly that the Windows application you are trying to install is 64-bit only?

Bob
Locked