Live data from Hacker News

MSBuild is going cross-platform with .NET Core

blogs.msdn.com

91–100 of 139 posts

Re: MSBuild is going cross-platform with .NET Core

#92
post #32
post #14

Earlier quoted context omitted.

1 year ago, yes. C# is awesome as a language but I don't see a reason to switch to .net when the JVM has Kotlin, which is nicer than C#, but still super lightweight and thoroughly pragmatic.

Cool! How would you build an app for iOS and WinPhone using Kotlin?

HTML! And you get to do it once for both...

Re: MSBuild is going cross-platform with .NET Core

#93

Why would I want to deal with MS on any other platform? I want nothing to do with that company out of principal and I hope we can do a equally harmful shut out of MS in the future, they deserve their own medicine. No, into the trash it goes.

You can't win if you're not going to reward companies for good behavior.

Re: MSBuild is going cross-platform with .NET Core

#94

Why would I want to deal with MS on any other platform? I want nothing to do with that company out of principal and I hope we can do a equally harmful shut out of MS in the future, they deserve their own medicine. No, into the trash it goes.

Because Microsoft keeps me employed and making money.

Re: MSBuild is going cross-platform with .NET Core

#95
post #52

Earlier quoted context omitted.

I'm not sure Microsoft came too late to the party. Perhaps MSBuild is a bit crappy (I don't know, never used it), but I can imagine Roslyn becoming more useful now on other platforms since it's open sourced. It'll be great that one can be sure the runtime behaves the same on all platforms Roslyn will run on. And it'll also be nice if new runtime features will be available on every platform at (more or less) the same…

> "And who knows, maybe someone will build a decent MSBuild replacement. Or perhaps the Xamarin guys already have a nice alternative." You might want to check out FAKE, it essentially lets you write MSBuild configurations using F#: http://fsharp.github.io/FAKE/ This recent announcement means that a multi-platform FAKE in the near future looks like a good bet.

And there's also a C# version of FAKE, named Cake. http://cakebuild.net/

Re: MSBuild is going cross-platform with .NET Core

#96

I know MSBuild gets a lot of hate but this is still great news. The end goal of having a .Net project be compile-able on Windows, Linux and Mac is going to be awesome. I'm curious, when everything is finally done, what the adoption rates will be like. Will hard-core Linux users who used Java migrate when it makes sense? Will they avoid it because "M$"? All good stuff.

> Will hard-core Linux users who used Java migrate when it makes sense? Probably only for mobile/desktop app but less likely for back-end/webservice/infrastructure stuff. Take MSBuild. This is pretty much Ant. Sure, there's NuGet but Ant+Ivy or MSBuild+NuGet combo isn't anywhere close to Maven (despite the XML hate). Libraries, communities, tools, frameworks of .NET ecosystem is still behind Java. Unfortunately langu…

Can you/someone give a quick rundown of why maven is really so much better than everything else?

Re: MSBuild is going cross-platform with .NET Core

#97

Earlier quoted context omitted.

There are patent pledges and promises not to assert patents: https://msdn.microsoft.com/en-us/openspecifications Portions of .NET are under ECMA and ISO standards: https://en.wikipedia.org/wiki/Common_Language_Infrastructure... I think the most important part is that the new cross-platform .NET core framework, CLR, and compiler (Roslyn) are under permissive open source licenses (MIT for fx and clr, Apache 2 for Rosly…

> 1. Microsoft employee until they notice I'm hanging out on hacker news instead of replying to e-mails and "fix the glitch". Shh, they might find us.

Sounds like a fun job! Do you want to hire me? ;)

Re: MSBuild is going cross-platform with .NET Core

#98

Earlier quoted context omitted.

I have no strong opinions for or against MSBuild. What is it that you dislike about it? Or what is it that other tools do that MSBuild fails to do? PS - I have done a lot of .Net development, but rarely did anything beyond the basics with MSBuild directly (mostly via Visual Studio, or took the pre-generated command line and stuck in a script).

I really hated the language you use to describe build tasks. It is a very frustrating mix of declarative and imperative syntax. And of course, who wouldn't want to write code in XML?! (XML, the markup language, the one we use for marking up information like documents and records.) I was doing fairly complicated tasks with it years ago, and it's just one of those technologies that feels like it is fighting you at ever…

I am starting to notice a few (mostly cross-platform) projects writing sln/vcproj files using CMake now, so that might be an alternative.

Re: MSBuild is going cross-platform with .NET Core

#99
post #43

Earlier quoted context omitted.

> Will hard-core Linux users who used Java migrate when it makes sense? Probably only for mobile/desktop app but less likely for back-end/webservice/infrastructure stuff. Take MSBuild. This is pretty much Ant. Sure, there's NuGet but Ant+Ivy or MSBuild+NuGet combo isn't anywhere close to Maven (despite the XML hate). Libraries, communities, tools, frameworks of .NET ecosystem is still behind Java. Unfortunately langu…

.Net has F# though, which I adore to no end. Can even avoid MSBuild with FAKE.

But then FAKE is just like MAKE which is just like MSBuild or ANT.

IMHO FAKE syntax is not for me.

.NET has F#, nice. JVM has Scala, JRuby, Clojure, etc. But that's a matter of taste/opinions.

Re: MSBuild is going cross-platform with .NET Core

#100
post #32
post #14

Earlier quoted context omitted.

1 year ago, yes. C# is awesome as a language but I don't see a reason to switch to .net when the JVM has Kotlin, which is nicer than C#, but still super lightweight and thoroughly pragmatic.

Cool! How would you build an app for iOS and WinPhone using Kotlin?

For Windows at least, there's IKVM: http://www.ikvm.net/
Post reply on HN