This worked to remove the errors in VS; however, it's now causing a hard freeze during world loading that prevents me from closing the game.
I believe this is the relevant exception:
Exception thrown: 'HarmonyLib.HarmonyException' in 0Harmony.dll
An exception of type 'HarmonyLib.HarmonyException' occurred in 0Harmony.dll but was not handled in user code
Patching exception in method virtual System.Void Vintagestory.GameContent.EntityBehaviorMultiply::GetInfoText(System.Text.StringBuilder infotext)
HarmonyLib.HarmonyException
HResult=0x80131500
Message=Patching exception in method virtual System.Void Vintagestory.GameContent.EntityBehaviorMultiply::GetInfoText(System.Text.StringBuilder infotext)
Source=0Harmony
StackTrace:
at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original)
at HarmonyLib.PatchClassProcessor.Patch()
at HarmonyLib.Harmony.<PatchAll>b__10_0(Type type)
at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
at HarmonyLib.Harmony.PatchAll(Assembly assembly)
at HarmonyLib.Harmony.PatchAll()
at PrecisePregnancyTimers.PrecisePregnancyTimersModSystem.Start(ICoreAPI api) in C:\Users\flish\source\repos\PrecisePregnancyTimers\PrecisePregnancyTimers\PrecisePregnancyTimers\PrecisePregnancyTimersModSystem.cs:line 20
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase)
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
ArgumentException: No such field defined in class Vintagestory.GameContent.EntityBehaviorMultiply, VSEssentials, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null (Parameter 'PregnancyDays')
I think I understand what the exception is saying, but I don't understand why it's occuring.