https://bugs.winehq.org/show_bug.cgi?id=45853
--- Comment #5 from Piotr Paczkowski kontakt@trzeci.eu --- Hi Anastasius Focht,
Thank you for a detail investigation, indeed I closed this issue too fast.
I followed your investigation steps and I was able to reproduce those but the last result, that is once I've copied GAC folder, I've started to receive my original error:
--- snip PP@7085b9ab669f:~/.wine/drive_c/b/MSBuild/15.0/Bin$ wine msbuild0009:err:mscoree:LoadLibraryShim error reading registry key for installroot MSBUILD : error MSB1025: An internal failure occurred while running MSBuild. System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.EntryPointNotFoundException: GetStdHandle at (wrapper managed-to-native) System.WindowsConsoleDriver:GetStdHandle (System.Handles) at System.WindowsConsoleDriver..ctor () [0x00006] in <773ec02b42f74a918ccd74911c8063c9>:0 at System.ConsoleDriver.CreateWindowsConsoleDriver () [0x00000] in <773ec02b42f74a918ccd74911c8063c9>:0 at System.ConsoleDriver..cctor () [0x00019] in <773ec02b42f74a918ccd74911c8063c9>:0 --- End of inner exception stack trace --- at System.Console.add_CancelKeyPress (System.ConsoleCancelEventHandler value) [0x00000] in <773ec02b42f74a918ccd74911c8063c9>:0 at Microsoft.Build.CommandLine.MSBuildApp.Execute (System.String commandLine) [0x00089] in <827c8d80aa904f50b766f54f738c79e2>:0 --- / snip
I wounder why we have different results, I was testing on wine 3.16 staging. Can you please tell if: - did you install vs_buildtools.exe under wine, or windows & copy?
Does running wine under docker (with X forwarding) could change behavior of wine?
Thanks, Piotr