Open JamieRCHI opened 2 years ago
Also, for my projects I place the complete path into the $(COI_ROOT) User environment variable. This results in less typing.
For example on my system: COI_ROOT=C:\Unity Projects\Assets\dlls\
code in my .csproj file:
<Reference Include="Mafi">
<HintPath>$(COI_ROOT)Mafi.dll</HintPath>
</Reference>
Example code from ExampleMod.csproj:
<Reference Include="Mafi">
<HintPath>$(COI_ROOT)\Captain of Industry_Data\Managed\Mafi.dll</HintPath>
</Reference>
I tend to edit the .csprog file in Notepad++ or Microsoft XML editor. This makes it easier for me to quickly add or remove references. Might be a bad habit I picked up from working at Microsoft. Of course back then a lot of the compiling I did used a Makefile and projects were compiled from the command prompt.
The IDE for Visual Studio seems overly complicated to me and confuses me a bit.
Unity version should show 2021.3.22f1 (latest version). Or did you really mean 2021.3.6f1?
Also, would be nice if the Includes in the csproj file were fixed so all the extra stuff we don't need is not included in the Release folder. Adding the <Private>false</Private>
code does this.
Example:
<Reference Include="Mafi">
<HintPath>$(COI_ROOT)\Captain of Industry_Data\Managed\Mafi.dll</HintPath>
<Private>false</Private>
</Reference>
Adding my version of readme.md as an attempt to clarify some things: readme_V3.md
Version 2019 or later? Edit: I just updated 2019 (Version 16.11.16) to the latest build (Version 16.11.16). It works.