Running multiple instances of Xamarin Studio on a Mac

I love developing software on my MacBook Air! I got the latest version with the maximum possible specifications (i7, 8GB internal mem, 512GB SSD disk) so it works better than anything I ever had!

One of the things i was missing (a  lot) while developing is that I cannot start 2 instances of the same application on a Mac. In Windows I normally have 2 or 3 instances of Visual Studio open so I can work on several projects / solutions at the same time.

This way of working is not as easy on a Mac as it is in Windows. If you want to do this you should use the terminal command open using the -n switch. The description of the -n switch for the open command is

open -n  Open a new instance of the application(s) even if one is already running.

Now every time opening a terminal window and typing this command is a bit irritating but for this you can use the Automator application that comes with the Mac OSx operating system.

First you need to create a new document in Automator and choose Application as the type of document:

Click on the picture for a bigger version

Then choose as Action, Run shell Script.  After that you enter the open -n command as the script command, with the Xamarin Studio application as the application that you want to start. So this would be:

open -n “/Applications/Xamarin Studio.app”

Click on the picture for a bigger version!

Save this document and afterwards double clicking on it will open another instance of Xamarin Studio!

Easy, once you know how to do this!

时间: 2024-10-13 00:25:39

Running multiple instances of Xamarin Studio on a Mac的相关文章

[NPM] Use a shorthand syntax for running multiple npm scripts with npm-run-all

Running multiple scripts in series or in parallel can become very verbose. Using a tool such as npm-run-all can help reduce the amount of overhead you have to type in order to get the same behavior. Install: npm i -D npm-run-all "scripts": { &qu

Xamarin Studio支持TypeScript开发

之前谈到"TypeScript的崛起",今天推荐的文章又再次支持了这一观点--Xamarin Studio也开始支持TypeScript的开发. 一个语言是否能够崛起,很重要的一个方面就是开发工具的支持.Visual Studio的支持自然不在话下,且微软最近也发布了TypeScript 1.4的工具包.而WebStorm之前也支持了TypeScript的开发. Xamarin Studio对TypeScript的支持主要通过插件来实现,可以: 在保存和构建的时候编译TypeScrip

[App]华为P6设置与Xamarin Studio连通测试

使用模拟器进行调试十分麻烦,而且速度很慢,手头上有手机一台正好做测试机器,不过一直无法连通电脑. 百度了一番才知道,首先要在连接时候选择: PC 助手(HiSuite) 这样会加载一个类似驱动盘的资源,点击运行会下载对应驱动,更新了驱动以后电脑便可以识别该设备. 同时记得要设置手机允许调试. 最后在Xamarin Studio 的Debug里面选择手机设备即可. PS: 对于其他手机应也类似,需要安装驱动,可以尝试使用驱动精灵. 如果打开设备管理器也会发现未识别的Android设备.

xamarin studio 中SpinButton ComBox Splid 鼠标放上去就会自动接收焦点,然后进行数值变化

公司做跨平台项目,用XamarinStudio 开发mac版本,语法还是C#,但是,尼玛XamarinStudio的控件就是坑爹啊. 其他的暂时不累赘,笔者画界面,一堆控件放到一个界面上,当超出屏幕时候,会出现竖直滚动条,当你鼠标想中键滚动时,悲剧来了,尼玛,鼠标放在一个SpinButton时候,它的值自动开始滚动,我屮艸芔茻 来来来,重写. [System.ComponentModel.ToolboxItem(true)] public class SpinButtonEx : Gtk.Spi

Xamarin Studio - Could not connect to the debugger

My Xamarin iOS app will build successfully, however, during launch it will flash a black screen and immediately return to my phones home screen exiting my app without an error. Upon reviewing Xamarin Studio, the status appears at top: Waiting for deb

Xamarin Studio Android 配置

C#依托于mono平台可以实现Unix平台服务器端开发已经不是什么新鲜事了,而Xarmain公司(初始成员大多来自原Mono.MonoTouch.Mono For Android成员)继续将C#的先进性带到了移动平台 —— 这也不是新鲜事了!但是国内的学习资料却很少,倒是有培训班已经看准了这个赚钱的机会,CSDN应该是和Xamarin有合作在国内率先开始了Xamarin移动跨平台开始的课程(避免广告嫌疑,我就不贴地址了),虽然说我作为一个非专业移动端的程序员,因为懒的原因没有学习过Java和Ob

authentication not supported Connect to TFS Git from Xamarin Studio (non-hosted, locally installed TFS 2013)

There are several instructions on how to connect to TFS Git from Xamarin Studio if you're using the Team Foundation Service. We have locally installed TFS 2013 which also has Git support, but Xamarin Studio is unable to connect to it with the followi

Visual Studio 2017 for Mac 体验之Android.Form

微软官方说明: Visual Studio 2017 for Mac Last Update: 2017/6/16 我们非常荣幸地宣布 Visual Studio 2017 for Mac 现已推出. Visual Studio for Mac 是 Visual Studio 系列的新成员.通过它,macOS 上的开发人员可以使用 Xamarin 和 .NET Core 来构建移动.Web.和云应用,也可以使用 Unity 来开发游戏. 使用 Visual Studio 2017 for Mac

Visual Studio 2017 for Mac

Visual Studio 2017 for Mac Last Update: 2017/6/16 我们非常荣幸地宣布 Visual Studio 2017 for Mac 现已推出. Visual Studio for Mac 是 Visual Studio 系列的新成员.通过它,macOS 上的开发人员可以使用 Xamarin 和 .NET Core 来构建移动.Web.和云应用,也可以使用 Unity 来开发游戏. 使用 Visual Studio 2017 for Mac 可以开发适用于