khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

Thanks to Martin Zikmund making this video about the new proposed slnx solution format.

It's about time to kill the .sln format.

https://youtu.be/wzMMclD8QsI?si=BXB2nVrQDhiT7fcw

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh I hope they change it to Traversal projects before it's too late.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@KirillOsenkov please explain what you mean.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh see, they need a flexible XML format to express a list of file paths. I happen to know of one! It's MSBuild! It's perfectly suited for dealing with sets of paths, and powerful enough to express both simple and advanced scenarios. Traversal projects (dirs.proj) are already well supported and used by huge codebases inside Microsoft. Tooling exists. Just take the traversal projects and don't invent a new format.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh It will be trivial for Rider to implement support for Traversal projects, but if they invent a custom format you guys are going to have to write support for it from scratch.

And then they'll discover that users want folders! Users want globs! Users want solution-level files! Users want conditions! Users want solution-level NuGet packages! Users want editorconfigs! Slowly their format will evolve into a bad, ad-hoc, poorly designed subset of MSBuild.

KirillOsenkov,
@KirillOsenkov@mastodon.social avatar

@khalidabuhakmeh basically they just need to take Traversal projects as-is and stop reinventing the wheel.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@KirillOsenkov when you say it like that... You're absolutely right. So why this then?

If would have guessed a solution I would have thought it would have been a slnproj based on MSBuild.

tmeschter,
@tmeschter@hachyderm.io avatar

@khalidabuhakmeh @KirillOsenkov Visual Studio supports multiple project types that aren't based on MSBuild. The solution file format needs to support those, as well.

agocke,
@agocke@hachyderm.io avatar

@tmeschter @khalidabuhakmeh @KirillOsenkov There are so many benefits in .NET to sticking with something like a traversal project that I'd rather VS invent different solution files for different languages. The only thing that really benefits from one solution file format is VS devs.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@agocke @tmeschter @KirillOsenkov VS already supports Unreal Engines uproject structure with the latest Unreal extension. So you are right. 😁

tmeschter,
@tmeschter@hachyderm.io avatar

@KirillOsenkov @khalidabuhakmeh Traversal projects are useful in repos with lots and lots of projects where building a subset is a meaningful operation. But for most developers a simplified solution file format is more immediately useful.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
KirillOsenkov,
@KirillOsenkov@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • dotnet
  • kavyap
  • ngwrru68w68
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • everett
  • slotface
  • tacticalgear
  • rosin
  • normalnudes
  • megavids
  • Leos
  • GTA5RPClips
  • ethstaker
  • InstantRegret
  • cubers
  • modclub
  • Durango
  • provamag3
  • cisconetworking
  • tester
  • anitta
  • JUstTest
  • lostlight
  • All magazines