Erabior / RouteManager

Mod for Railroader the game that adds basic automation for passenger routes
12 stars 5 forks source link

V2 - Enhancment - Proposed change to allow for easier source building in future #63

Closed armyf35 closed 7 months ago

armyf35 commented 7 months ago

Not sure if this is the right way to go about this (I have no C# experience). But I have added some properties to build the ReferencePath such that users just need to copy the csproj.user.example file and set the root of their Railroader install, rather than add each dll reference.

Since I had that path set, I also modified the post build copy to use that path instead of being hardcoded.

AdamC1228 commented 7 months ago

I know that there is a way to do this but I have only worked on single developer solutions in the visual studio world but have just never taken time to familiarize myself with this approach. Will review later this weekend.

armyf35 commented 7 months ago

I am not confident in this being the "correct" way to solve this problem. I really was just guessing and it seemed right... But as I said, I have no experience or prior knowledge with this.

AdamC1228 commented 7 months ago

Even if there might be a better way, this proposal is a step in the right direction. Approved.