Skip to content

Commit cc16eaa

Browse files
committed
Don't specify runtime in build script to avoid MonoGame 3.8.3 copying tons of Microsoft.NETCore.App dependency DLLs to build output
MonoGame 3.8.3 directly references Microsoft.NETCore.App, which for some reason seems to lead into basically the whole .NET Runtime with some native dependencies getting thrown into the output directory when the runtime is specified for the build command
1 parent 5c292e7 commit cc16eaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
$Output = Join-Path $PSScriptRoot Build
44

5-
dotnet publish src/TSMapEditor/TSMapEditor.csproj --configuration=Release --runtime win-x64 --output=$Output --self-contained false
5+
dotnet publish src/TSMapEditor/TSMapEditor.csproj --configuration=Release --no-self-contained --output=$Output

0 commit comments

Comments
 (0)