[Bug 45853] New: MSBuild 15.7.179.6572 Can't run due missing GetStdHandle

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 17 18:20:32 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45853

            Bug ID: 45853
           Summary: MSBuild 15.7.179.6572 Can't run due missing
                    GetStdHandle
           Product: Wine
           Version: 3.15
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: kontakt at trzeci.eu
      Distribution: ---

Hi!
I'm hacking around trying to compile VC++ VS2017 with Wine and so far it's
going good, core compiler and linker works fine. 

When I've tried to use MSBuild for compiling VS Solution I've encountered an
error: 

```
aa8567151b8:~/.wine/drive_c$ wine MSBuild
0009: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 <db75226a06fe4b4c8537267400c32104>:0

Unhandled Exception:
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)
[0x003fc] in <db75226a06fe4b4c8537267400c32104>:0
  at Microsoft.Build.CommandLine.MSBuildApp.Main () [0x00028] in
<db75226a06fe4b4c8537267400c32104>:0

```

First reaction was to install mono-wine, but I've tested all versions of it,
and didn't solve this problem. 

Is this a known issue? This kernell32 function looks pretty generic, hence I
might miss some important piece to make it running, but googling didn't help
much.

Best regards,
Piotr

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list