update for Netcode now merged into game assembly on all platforms
This commit is contained in:
parent
6efaa651cb
commit
2b922a71a2
|
@ -56,9 +56,6 @@
|
||||||
|
|
||||||
<!-- Harmony -->
|
<!-- Harmony -->
|
||||||
<Reference Include="0Harmony" Condition="'$(EnableHarmony)' == 'true'" HintPath="$(GamePath)\smapi-internal\0Harmony.dll" Private="$(CopyModReferencesToBuildOutput)" />
|
<Reference Include="0Harmony" Condition="'$(EnableHarmony)' == 'true'" HintPath="$(GamePath)\smapi-internal\0Harmony.dll" Private="$(CopyModReferencesToBuildOutput)" />
|
||||||
|
|
||||||
<!-- Windows only -->
|
|
||||||
<Reference Include="Netcode" HintPath="$(GamePath)\Netcode.dll" Private="$(CopyModReferencesToBuildOutput)" Condition="'$(OS)' == 'Windows_NT'" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,6 @@
|
||||||
<Reference Include="StardewValley.GameData" HintPath="$(GamePath)\StardewValley.GameData.dll" Private="False" />
|
<Reference Include="StardewValley.GameData" HintPath="$(GamePath)\StardewValley.GameData.dll" Private="False" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Windows only -->
|
|
||||||
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
|
|
||||||
<Reference Include="Netcode" HintPath="$(GamePath)\Netcode.dll" Private="False" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Update="manifest.json" CopyToOutputDirectory="PreserveNewest" />
|
<None Update="manifest.json" CopyToOutputDirectory="PreserveNewest" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -20,11 +20,6 @@
|
||||||
<Reference Include="xTile" HintPath="$(GamePath)\xTile.dll" Private="False" />
|
<Reference Include="xTile" HintPath="$(GamePath)\xTile.dll" Private="False" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Windows only -->
|
|
||||||
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
|
|
||||||
<Reference Include="Netcode" HintPath="$(GamePath)\Netcode.dll" Private="False" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Update="i18n\*.json" CopyToOutputDirectory="PreserveNewest" />
|
<None Update="i18n\*.json" CopyToOutputDirectory="PreserveNewest" />
|
||||||
<None Update="manifest.json" CopyToOutputDirectory="PreserveNewest" />
|
<None Update="manifest.json" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
|
|
@ -235,12 +235,8 @@ namespace StardewModdingAPI
|
||||||
// The game assembly can have one of three names depending how the mod was compiled:
|
// The game assembly can have one of three names depending how the mod was compiled:
|
||||||
// - 'StardewValley': assembly name on Linux/macOS;
|
// - 'StardewValley': assembly name on Linux/macOS;
|
||||||
// - 'Stardew Valley': assembly name on Windows;
|
// - 'Stardew Valley': assembly name on Windows;
|
||||||
// - 'Netcode': an assembly that's separate on Windows only.
|
// - 'Netcode': an assembly that was separate on Windows only before Stardew Valley 1.5.5.
|
||||||
resolver.AddWithExplicitNames(AssemblyDefinition.ReadAssembly(typeof(Game1).Assembly.Location), "StardewValley", "Stardew Valley"
|
resolver.AddWithExplicitNames(AssemblyDefinition.ReadAssembly(typeof(Game1).Assembly.Location), "StardewValley", "Stardew Valley", "Netcode");
|
||||||
#if !SMAPI_FOR_WINDOWS
|
|
||||||
, "Netcode"
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Get metadata for mapping assemblies to the current platform.</summary>
|
/// <summary>Get metadata for mapping assemblies to the current platform.</summary>
|
||||||
|
|
|
@ -34,11 +34,6 @@
|
||||||
<Reference Include="xTile" HintPath="$(GamePath)\xTile.dll" Private="False" />
|
<Reference Include="xTile" HintPath="$(GamePath)\xTile.dll" Private="False" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- Windows only -->
|
|
||||||
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
|
|
||||||
<Reference Include="Netcode" HintPath="$(GamePath)\Netcode.dll" Private="False" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SMAPI.Toolkit.CoreInterfaces\SMAPI.Toolkit.CoreInterfaces.csproj" />
|
<ProjectReference Include="..\SMAPI.Toolkit.CoreInterfaces\SMAPI.Toolkit.CoreInterfaces.csproj" />
|
||||||
<ProjectReference Include="..\SMAPI.Toolkit\SMAPI.Toolkit.csproj" />
|
<ProjectReference Include="..\SMAPI.Toolkit\SMAPI.Toolkit.csproj" />
|
||||||
|
|
Loading…
Reference in New Issue