After dotnet/corefx#6572 got merged, non-Windows builds started hitting the following error:
vbc : error BC31030: Project-level conditional compilation constant 'CONFIG= ^^ ^^ /"Windows_NT_Debug/"' is not valid: Syntax error in conditional compilation expression. [/Users/dotnet-bot/j/workspace/dotnet_corefx/outerloop_osx_debug/src/Microsoft.VisualBasic/src/Microsoft.VisualBasic.vbproj]
I believe that root cause is this change which for some reason started building the Vb project in non-Windows as well.
@sokket could you please take a look?