Skip to content

Commit

Permalink
-Configured hintpaths for PMLInjector.
Browse files Browse the repository at this point in the history
-Set 'Copy Local' to false in PML
-Set PML as a dependency for PMLInjector
  • Loading branch information
Nagord committed Nov 26, 2022
1 parent 4510eca commit ab45ac4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
3 changes: 2 additions & 1 deletion PulsarInjector/PulsarInjector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
</Reference>
<Reference Include="PulsarModLoader, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>bin\Debug\PulsarModLoader.dll</HintPath>
<HintPath Condition="Exists('..\PulsarModLoader\bin\Release\PulsarModLoader.dll')">..\PulsarModLoader\bin\Release\PulsarModLoader.dll</HintPath>
<HintPath Condition="Exists('..\PulsarModLoader\bin\Debug\PulsarModLoader.dll')">..\PulsarModLoader\bin\Debug\PulsarModLoader.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
7 changes: 5 additions & 2 deletions PulsarModLoader.sln
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30523.141
# Visual Studio Version 17
VisualStudioVersion = 17.4.33110.190
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PulsarModLoader", "PulsarModLoader\PulsarModLoader.csproj", "{CF6CE9BA-9603-439D-9173-96C052C94417}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PulsarInjector", "PulsarInjector\PulsarInjector.csproj", "{F15E6EFA-3584-4503-98E0-17D3E87900F5}"
ProjectSection(ProjectDependencies) = postProject
{CF6CE9BA-9603-439D-9173-96C052C94417} = {CF6CE9BA-9603-439D-9173-96C052C94417}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6FA95747-6271-4991-96D0-73EDCA21D402}"
ProjectSection(SolutionItems) = preProject
Expand Down
9 changes: 9 additions & 0 deletions PulsarModLoader/PulsarModLoader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<Reference Include="0Harmony, Version=2.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ACTk.Runtime, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -57,18 +58,23 @@
</Reference>
<Reference Include="com.rlabrecque.steamworks.net">
<HintPath>..\lib\com.rlabrecque.steamworks.net.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil.Mdb, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.Mdb.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil.Pdb, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.Pdb.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Mono.Cecil.Rocks, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
<HintPath>..\packages\Mono.Cecil.0.11.3\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Pathfinding.Ionic.Zip.Reduced">
<HintPath>..\lib\Pathfinding.Ionic.Zip.Reduced.dll</HintPath>
Expand All @@ -81,6 +87,7 @@
</Reference>
<Reference Include="PLInputBase">
<HintPath>..\lib\PLInputBase.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down Expand Up @@ -115,6 +122,7 @@
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>..\lib\UnityEngine.TextRenderingModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -123,6 +131,7 @@
</Reference>
<Reference Include="Valve.Newtonsoft.Json">
<HintPath>..\lib\Valve.Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
7 changes: 6 additions & 1 deletion PulsarModLoader/SaveValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@ private void SetValue(T newValue)
public bool Equals(T other) => _value.Equals(other);

public override string ToString() => _value.ToString();
}

public override int GetHashCode()
{
return _value.GetHashCode();
}
}

// Example Usage
//public static class MyCfg {
Expand Down

0 comments on commit ab45ac4

Please sign in to comment.