csproj: removed Lib.Harmony and System.Text.Json NuGet packages (game bundles these), added 0Harmony.dll reference from game directory, LangVersion=latest build_mod.sh: auto-detect Managed/ subdirectory, support Linux/macOS/Windows paths, better error messages, install instructions C# code verification: 0 syntax errors, 8 missing-reference-only errors (expected)
17 lines
853 B
XML
17 lines
853 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net471</TargetFramework>
|
|
<AssemblyName>ONIAgentBridge</AssemblyName>
|
|
<RootNamespace>ONIAgentBridge</RootNamespace>
|
|
<LangVersion>latest</LangVersion>
|
|
<Nullable>disable</Nullable>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="0Harmony" HintPath="$(ONI_Path)\0Harmony.dll" Private="False" />
|
|
<Reference Include="Assembly-CSharp" HintPath="$(ONI_Path)\Assembly-CSharp.dll" Private="False" />
|
|
<Reference Include="Assembly-CSharp-firstpass" HintPath="$(ONI_Path)\Assembly-CSharp-firstpass.dll" Private="False" />
|
|
<Reference Include="UnityEngine" HintPath="$(ONI_Path)\UnityEngine.dll" Private="False" />
|
|
<Reference Include="UnityEngine.CoreModule" HintPath="$(ONI_Path)\UnityEngine.CoreModule.dll" Private="False" />
|
|
</ItemGroup>
|
|
</Project>
|