Skip to content

Commit 75822c6

Browse files
committed
remove legacy dependencies
1 parent acbbe50 commit 75822c6

4 files changed

Lines changed: 0 additions & 18 deletions

File tree

build/deploy-local-smapi.targets

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ This assumes `find-game-folder.targets` has already been imported and validated.
4040

4141
<!-- .NET dependencies -->
4242
<Copy SourceFiles="$(TargetDir)\System.Management.dll" DestinationFolder="$(GamePath)\smapi-internal" Condition="$(OS) == 'Windows_NT'" />
43-
44-
<!-- Legacy .NET dependencies (remove in SMAPI 4.0.0) -->
45-
<Copy SourceFiles="$(TargetDir)\System.Configuration.ConfigurationManager.dll" DestinationFolder="$(GamePath)\smapi-internal" />
46-
<Copy SourceFiles="$(TargetDir)\System.Runtime.Caching.dll" DestinationFolder="$(GamePath)\smapi-internal" />
47-
<Copy SourceFiles="$(TargetDir)\System.Security.Permissions.dll" DestinationFolder="$(GamePath)\smapi-internal" />
4843
</Target>
4944

5045
<!-- .NET metadata files -->

build/unix/prepare-install-package.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ for folder in ${folders[@]}; do
151151
cp "$smapiBin/System.Management.dll" "$bundlePath/smapi-internal"
152152
fi
153153

154-
# copy legacy .NET dependencies (remove in SMAPI 4.0.0)
155-
cp "$smapiBin/System.Configuration.ConfigurationManager.dll" "$bundlePath/smapi-internal"
156-
cp "$smapiBin/System.Runtime.Caching.dll" "$bundlePath/smapi-internal"
157-
cp "$smapiBin/System.Security.Permissions.dll" "$bundlePath/smapi-internal"
158-
159154
# copy bundled mods
160155
for modName in ${bundleModNames[@]}; do
161156
fromPath="src/SMAPI.Mods.$modName/bin/$buildConfig/$runtime/publish"

build/windows/prepare-install-package.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,6 @@ foreach ($folder in $folders) {
177177
cp "$smapiBin/System.Management.dll" "$bundlePath/smapi-internal"
178178
}
179179

180-
# copy legacy .NET dependencies (remove in SMAPI 4.0.0)
181-
cp "$smapiBin/System.Configuration.ConfigurationManager.dll" "$bundlePath/smapi-internal"
182-
cp "$smapiBin/System.Runtime.Caching.dll" "$bundlePath/smapi-internal"
183-
cp "$smapiBin/System.Security.Permissions.dll" "$bundlePath/smapi-internal"
184-
185180
# copy bundled mods
186181
foreach ($modName in $bundleModNames) {
187182
$fromPath = "src/SMAPI.Mods.$modName/bin/$buildConfig/$runtime/publish"

src/SMAPI/SMAPI.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
<PackageReference Include="Pintail" Version="2.3.0" />
2929
<PackageReference Include="Platonymous.TMXTile" Version="1.5.9" />
3030
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" />
31-
32-
<!-- legacy package; remove in SMAPI 4.0.0 -->
33-
<PackageReference Include="System.Runtime.Caching" Version="5.0.0" />
3431
</ItemGroup>
3532

3633
<ItemGroup>

0 commit comments

Comments
 (0)