Hello @Milliw, this looks like a possible line of interest from your log:
[0000000000000134:] EXCEPTION handling: System.TypeLoadException: Could not load type of field 'YUR.Fit.Windows.WindowsBtLeHrmProvider:_connectedCharacteristic' (2) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Hello @Milliw, this looks like a possible line of interest from your log:
[0000000000000134:] EXCEPTION handling: System.TypeLoadException: Could not load type of field 'YUR.Fit.Windows.WindowsBtLeHrmProvider:_connectedCharacteristic' (2) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
That caught my attention immediately as well.
But besides that I don't have any abilities other than looking it up on the internet - which I did but found nothing.
Likely a variation on https://github.com/mono/mono/issues/15767, I'll see if it's possible to add a similar work-around.
I digged deeper and found some report on protondb by looking up with the app id instead the app name. There was some user reporting some years ago after installing dotnet462 he got it running but not beeing able to login. I tried same but was not able to install that (I guess too old) dotnet. Tried with younger versions but did not work either.
How do you find out which dependencies this software needs?
I see the problem, there's a Windows.winmd file that it depends on, and Wine Mono doesn't support winmd files.
I see the problem, there's a Windows.winmd file that it depends on, and Wine Mono doesn't support winmd files.
So no way to run this on Linux?
I can't say that for sure, since I don't know what the issue was with logging in. It might be possible with native .NET Framework (but I can't help with that).
Without .NET Framework, significant development time would be required to implement winmd support in Wine Mono. I suspect we'll need it eventually, but this program is the only example I've seen that needs it so far. I filed a Wine bug for that: https://bugs.winehq.org/show_bug.cgi?id=55989
I see the problem, there's a Windows.winmd file that it depends on, and Wine Mono doesn't support winmd files.
From what I can tell, Mono.Cecil supports WinMD files. This is also mentioned here https://github.com/mono/api-doc-tools/issues/29#issuecomment-299875585
The linked PR seems to have a hack for mscorlib
Maybe this is of use?
Thanks, I think it helps a little bit but there's still a lot that needs to be done.
Mono.Cecil is rather low-level, so I think it "supports" winmd files by virtue of them using the same file format as .NET dll's. Someone would still need to figure out what to put in the files exactly. And it would only potentially help with creating a windows.winmd file, support for them will still need to be added to the Mono runtime.
I took a quick look through Mono, but I don't even know C#, so it wasn't clear what even is missing. If you have pointers, I might try to investigate it further
BTW, do you think the line
23080.371:0130:0134:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6.2" not implemented
Is relevant? I looked at the implementation in Wine and unless I'm not understanding something, it feels like it should just do a very similar thing to the way it parses version=: https://github.com/wine-mirror/wine/blob/0170cd3a4c67bd99291234dd8e0d638a824d7715/dlls/mscoree/config.c#L374-L397
Compatibility Report
System Information
I confirm:
steam-1188920.log
Symptoms
Does not run at all.
Reproduction
Install. Hit run button.