summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-12-12 18:44:38 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-12-12 18:44:38 -0500
commit356503325f4ef5ed84c359d4b56991c2a7f18b8e (patch)
tree933ad57036c166a0e319bd1452f0def093ec0add /src/SMAPI
parenta391dfe26372714a395abc5ee77b603e29562691 (diff)
downloadSMAPI-356503325f4ef5ed84c359d4b56991c2a7f18b8e.tar.gz
SMAPI-356503325f4ef5ed84c359d4b56991c2a7f18b8e.tar.bz2
SMAPI-356503325f4ef5ed84c359d4b56991c2a7f18b8e.zip
fix compatibility on Mac (#409)
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/StardewModdingAPI.csproj5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SMAPI/StardewModdingAPI.csproj b/src/SMAPI/StardewModdingAPI.csproj
index c585a0c4..026ac106 100644
--- a/src/SMAPI/StardewModdingAPI.csproj
+++ b/src/SMAPI/StardewModdingAPI.csproj
@@ -84,7 +84,10 @@
<Reference Include="System.Windows.Forms" Condition="$(OS) == 'Windows_NT'" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
- <Reference Include="Microsoft.CSharp" />
+ <Reference Include="Microsoft.CSharp" Condition="$(OS) == 'Windows_NT'" />
+ <Reference Include="Mono.CSharp" Condition="$(OS) != 'Windows_NT'">
+ <Private>True</Private>
+ </Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>