eebasso / Rimworld-Psychology-unofficial-v1.1-1.4

This is an unofficial update of The Word-Mule's Psychology mod for Rimworld. It's a complex overhaul to social interactions and adds a psyche system where each pawn is unique.
2 stars 5 forks source link

Cannot open in Visual Studio #10

Open tk421storm opened 7 months ago

tk421storm commented 7 months ago

I was hoping to help contribute but I cannot get the project to load in Visual Studio (either 2019 or 2022).

Attempting to view the properties of the Psychology1_4 csproject:

System.ArgumentException: Expected 1 values for property Build::DefineConstants, but got 0. The property page may not be defined for all configurations.

No combination of deleting the .vs folder, re-creating the solution seems to be able to fix the issue.

eebasso commented 7 months ago

I’ll think about this more to see if I can figure what’s going on, but I also highly recommend joining the Rimworld Discord server. There’s a channel called mod-development where the best modders of the game help each other debug and develop. They are experienced coders and very helpful and friendly to newcomers. They will help you in real time. Hopefully this link will work: https://discord.gg/rimworld

Edit: when asking them for help, try to provide as much information and context as you reasonably can.

tk421storm commented 7 months ago

thanks for this - I've released around 7 mods on the workshop so far, all C# & harmony based, but I'll checkout that discord.

Are you planning to update this mod for 1.5? I was able to reconfigure my local copy (basically had to make a new Visual Studio project and re-import the code). Looks like it's also set to C# 7.0+ which helped with the syntax errors.

If you're planning to update I'll look into making some fixes I've seen on my end. I'm not sure I'll be able to push up directly but I could probably upload individual files if necessary.