Skip to content

Commit eed1b48

Browse files
Add note about PublishAOT and warnings (#78)
Co-authored-by: Simon (Darkside) Jackson <[email protected]>
1 parent ae30035 commit eed1b48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/getting_started/packaging_games.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ However, you do need to currently add some additional settings to your `.csproj`
174174

175175
The `TrimmerRootAssembly` stops the trimmer removing code from these assemblies. This should allow the game to run without
176176
any issues. However if you are using any Third Party or additional assemblies, you might need to add them to this list or fix your code to be `Aot` compliant.
177-
It is recommended that you publish using AOT as it simplifies the app bundle.
177+
It is recommended that you publish using AOT as it simplifies the app bundle.
178+
179+
You may see some trim and AOT analysis warnings related to MonoGame when using PublishAOT, even after adding `TrimmerRootAssembly` - these are normal and should not present any issue.
178180

179181
See [Trim self-contained deployments and executables](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained) for more information.
180182

0 commit comments

Comments
 (0)