ItsKaa / VChat

A simple chat improvement mod for Valheim
GNU Affero General Public License v3.0
6 stars 3 forks source link

Missing Developer Documentation Suggestion #12

Closed ivanskodje closed 2 years ago

ivanskodje commented 2 years ago

As a new modder I would love to see a small developer section for setting up the project in Microsoft Visual Studio.

This is because I am unable to run the application after adding the "known" dependencies for Valheim modding.

The references currently added to the project that fails: image

Screenshot of Issues occurring after attempting to build: image

Thank you :)

ivanskodje commented 2 years ago

Edit: Discovered the cause. In order to create the references we need, a tool such as CabbageCrow/AssemblyPublicizer or iRebbok/APublicizer needs to be used to create "publicized" dll files.

I used the CabbageCrow/AssemblyPublicizer one to create most of the files by running them through 1 by 1, and then I had to use the iRebbok/APublicizer on the postprocessing dll, since the CabbageCrow/AssemblyPublicizer could not create it for whatever reason.

After that was done, I had to install Unity 3D, locate the installation and get the missing Unity dlls from Editor\Data\Managed\UnityEngine, while getting the relevant BepInEx dlls, and UnityEngine UI from the Valheim installation directory.