I’m trying to publish a MonoGame 3.8 dotnet core project using the
/p:PublishTrimmed=true flag, but I’m met with an error when publishing (see pic below). The project has a DirectX project that calls the main game code in a MonoGame .net standard shared project. It also has a utility project that is a .net standard class library
When I publish a 3.8 project there are alot of System dll’s which push the publish folder well over 100MB for a game that is only a couple MB in size.
Anyone had errors like this before?
Edit: I tested publishing using the trimmed flag on a new project DirectX project that has no references to other project and the error still occurs.