summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.targets4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.targets b/build/common.targets
index aa11344e..6773dbe4 100644
--- a/build/common.targets
+++ b/build/common.targets
@@ -38,6 +38,10 @@
<Reference Include="Microsoft.Xna.Framework.Xact, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86">
<Private>False</Private>
</Reference>
+ <Reference Include="Netcode" Condition="Exists('$(GamePath)\Netcode.dll')">
+ <HintPath>$(GamePath)\Netcode.dll</HintPath>
+ <Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>
+ </Reference>
<Reference Include="Stardew Valley">
<HintPath>$(GamePath)\Stardew Valley.exe</HintPath>
<Private Condition="'$(MSBuildProjectName)' != 'StardewModdingAPI.Tests'">False</Private>