❔ 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
I need it to run via double click on any machine (without also installing a runtime on that machine)
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
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
Unity used that weird IL2CPP compiler, there's no actual .NET runtime needed
Mono is selected by default, IL2CPP needs to be proactively toggled/selected
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.