Garethp / Rider-RimworldDevelopment

MIT License
9 stars 2 forks source link

Allow About.xml to be a "project file" for XML Projects #8

Closed Garethp closed 1 year ago

Garethp commented 1 year ago

While it's a fair bit of work, we can massively improve the workflow of a Rimworld Mod Project by allowing the XML side of the Mod to exist as it's own, separate, project. If we can implement a custom project type where we treat the About/About.xml file as a "Project File" and then automatically include Defs/ as files belonging to that project rather than requiring them to be manually defined in a project file, we can create a more seamless experience for the XML side. The current model, where XML files have to be included in a C# project, just doesn't make sense for Rimworld Mods.

A possible idea, once implemented would be the ability to add other Rimworld Mods as "Dependencies" to our XML Project. If we could enable that, it could allow us to utalize other Mods XML files (And Vanilla XML Files) for Autocomplete/Navigation without considering them part of our own Project.

There's a few different integration points to take a look at:

Garethp commented 1 year ago

This has now been implemented and will be released as part of 2023.3