diff options
-rw-r--r-- | build/prepare-install-package.targets | 1 | ||||
-rw-r--r-- | src/SMAPI/StardewModdingAPI.csproj | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/build/prepare-install-package.targets b/build/prepare-install-package.targets index e88ca273..f8262271 100644 --- a/build/prepare-install-package.targets +++ b/build/prepare-install-package.targets @@ -24,6 +24,7 @@ <!-- copy SMAPI files for Mono --> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\ImpromptuInterface.dll" DestinationFolder="$(PackageInternalPath)\Mono" /> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\Mono.Cecil.dll" DestinationFolder="$(PackageInternalPath)\Mono" /> + <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\Mono.CSharp.dll" DestinationFolder="$(PackageInternalPath)\Mono" /> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\Newtonsoft.Json.dll" DestinationFolder="$(PackageInternalPath)\Mono" /> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\StardewModdingAPI.exe" DestinationFolder="$(PackageInternalPath)\Mono" /> <Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\StardewModdingAPI.pdb" DestinationFolder="$(PackageInternalPath)\Mono" /> 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> |