
If the process is executed successfully, the output would look like this. git subtree add -prefix scripts/create-dmg master -squash Since I’m using git for everything, I’ll show you an example using git subtree command. Now let’s add the script to scripts/create-dmg directory. Put solution file and projects files under src folder. Which mean you can just put it inside your repository and just execute on any machine.įirst, let’s assume this is how your project structured. We’re going to use andreyvit/create-dmg for our solution because it’s written in bash that makes it less dependency.


dmg file automatically using the shell script.įor your illustration, this is how the final distribution file we’re going to make.
#Dmg studios how to#
That’s why in this tutorial, I’ll show you how to create a. app file to /Applications/ folder.īut unfortunately, Visual Studio doesn’t provide this out of the box. Usually using a background image to instruct the user to drag and drop the. dmg file installer, which is probably more familiar for macOS users. app file and distribute it.īut personally, I think that’s not an elegant solution because some users don’t know that they should put the file to /Applications/ folder.Įven though that’s not mandatory, it’s better to organize all the apps inside /Applications/ folder. Now, what if you currently for some reasons don’t have an Apple Developer ID.

app distribution, you’re going to need an Apple Developer ID to create them. When you finished developing a macOS desktop app using Xamarin and want to distribute it to end user, you have 3 choices using Visual Studio: Apple App Store distribution, save to disk as.
