Hacker News new | comments | show | ask | jobs | submit login

> This is your ASP.NET vNext project file .. and not an angle bracket to be seen !

And no comments allowed, either! Changing formats to be hip is fun!

It's a correct observation. Why switch from an extensible mark-up format to a non-extensible data format?

Maybe it is possible to put comments in .csproj files, but that isn't exactly a common use case.

It's definitely not a common use case, because VS reformats the csproj files whenever it modifies them. Basically, when you make a change within VS that affects the csproj file, the entire file is pulled in through an XML parser into a DOM representation, modified in-memory, then serialized back out to XML. Frankly, I'm surprised comments are retained at all.

XML comments are part of the DOM and are retained, usually. And Visual Studio has become quite good at not clobbering things it does not modify itself. The project files are still normal MSBuild projects, so editing them by hand to add targets of other customisations isn't exactly uncommon.

Except the apparent point of using JSON is to make it more human friendly. Otherwise, changing the format is quite pointless and not much of a feature to talk about.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact