-
Howdy, I'm trying to deploy my MonoGame project as a standalone application with Netbeauty. I run the following command in the .NET CLI:
When I have:
in my .csproj file, the deployed application is ~ 145mb. When I have:
in my .csproj file, the deployed application is ~70mb. This leads me to believe NetBeauty is excluding the .NET runtime from the deployment. Here are the contents of my .csproj file: https://pastebin.com/xRp8XzVr Is it true that NetBeauty is excluding the .NET runtime from my deployed game, or is it automatically cleaning up unused files? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
no, NetBeauty doesn't remove any references. it's kind of weird. can i get the both copies of the deployed application with beauty enable and beauty diable? the files structure is ok too(you can get the structure with |
Beta Was this translation helpful? Give feedback.
-
i found out what happened. |
Beta Was this translation helpful? Give feedback.
-
you should clean up the |
Beta Was this translation helpful? Give feedback.
i found out what happened.
the first time you published the application with NetBeauty enable, all the assemblies have been move to
libraries
which is expected.the second time you published the application with NetBeauty disable, msbuild doesn't clean up the
publish
folder and leaves the oldlibraries
in there, that is why you get double size of the assemblies.