VS 2017 .Net Core 2.0 Console Application Publish Fail
According to this page, for OSX (now MacOS),
the .NET Core 2.0 or later versions, minimum version is
I suspect that the following in your project file might have been causing some mischief:
From what I understand, that OSX-version should be too old to support ( /be supported by?) .NET Core 2.0.
What I don't understand though, is why it would work (a) when run from a command line, and (b) in newer / other versions of Visual Studio.