❔ self contained app deployment

I have just read in the dotnetpro magazine that creating a self contained app / file (an exe that comes with the runtime and all dependencies included) requires a .net core verison. Or one of the new .net versions ofc where we dropped "core" from the name. Unity supports .net standard 2.0/2.1 and .net FW 4.7 so is it not possible then to create a self contained app from a unity project?
6 Replies
Florian Voß
Florian VoßOP2y ago
I need it to run via double click on any machine (without also installing a runtime on that machine)
Angius
Angius2y ago
No, it's not possible in Unity At least not in the .NET way Maybe Unity has some tools, assets, whatever that would let you do that
Florian Voß
Florian VoßOP2y ago
I wonder how unity people deploy their apps then. They have to deploy a self contained app somehow. Otherwise players would have to manually install .net runtime
Angius
Angius2y ago
Unity used that weird IL2CPP compiler, there's no actual .NET runtime needed
Monsieur Wholesome
Mono is selected by default, IL2CPP needs to be proactively toggled/selected
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server