▲ | kreco 2 days ago | |||||||
While msbuild is powerful, I strongly believe it should have been a standard C# language build system instead of a XML-based one. Any non-trivial thing to do is a pain to figure out if the documentation is not extensive enough. I really love C#, but msbuild is one of the weak links to me, almost everything else is a joy to use. | ||||||||
▲ | maltalex 2 days ago | parent | next [-] | |||||||
I completely agree that it shouldn’t be XML. Then again, I worked with Gradle in the past, which is based on Groovy syntax plus DSL. And that didn’t feel good either (though I must admit that I knew less about Gradle than I do about msbuild). Perhaps the problem of designing a good build system is harder than it seems. | ||||||||
▲ | pjob 2 days ago | parent | prev | next [-] | |||||||
You could check out FAKE. It’s pretty popular in the F# community. While not C#, the terser syntax may be beneficial for a build DSL and you still have access to .NET APIs. | ||||||||
▲ | tubs 2 days ago | parent | prev | next [-] | |||||||
But you augment it with tools written in c# which is best of both worlds. Builds are defined declaratively and custom actions are defined in code. Not the horrible hybrid of eg ant or cmake. | ||||||||
▲ | swader999 2 days ago | parent | prev [-] | |||||||
I remember using nant back in 2010 or so. Lol those were the days. | ||||||||
|