LethalCompanyCommunity/ModdingWiki

My experience with the "Creating Mods" Section - Add Troubleshooting?

manuelwaltschek opened this issue · 0 comments

Hi, I'm writing this because I'm in the midst of setting up my environment following the "Creating Mods" section of the wiki.
I think it would be beneficial to add some "Troubleshooting" section or maybe update the sources if these are general problems as I encountered some maybe misleading information or things that could just help when encountering issues:

  • creating a global.json for managing the .NET version as there is a problem with 8.0, maybe add the github threads for the 8.0 issue of dotnet
  • I set up my first project with rider using the UI and it just set my .NET version to 3.5 when I wanted to create it with the BepInEx 5 template, which is maybe frustrating for complete newcomers, as dependency management is hard, especially when you are not used to the format of the config files. Then again, maybe explain the dependencies please, as I found that I don't understand why netstandard2.1 is used in the example instead of the version 7? For newcomers of .NET this is a mystery.
  • Maybe show a complete snippet of the Nuget config and explain in one sentence what Nuget actually is. (That it is a package manager, I know you can google it yourself, but the article somehow implies knowledge of that term).
  • The path to the configurations in the different tools are great, but the result was not clear to me, as I encountered - when setting the project up with the CLI after I could not restore the project before and I wanted a fresh install - that HarmonyX package was not found and the "restore" failed as I did not even know what a restore is up to that point. I had to add the nuget api to the NuGet.Config manually and trigger a restore, then it finally worked, as far as I can see.