Xamarin+prism Development in detail four: simple Mac OS Virtual machine installation method with visual Studio for MAC first experience

Source: Internet
Author: User

MAC OS Virtual Machine installation method

Recently upgraded your computer to SSD, and finally the capacity to install Mac virtual machine! After the heartbreak of the installation exploration, tried a variety of installation methods at home and abroad, and finally found a good method on YouTube.

Simply summarize the successful installation method:

1,vmware Player 12.1.1-3770994(not available on the old version of Virtual Box Win10, new version 5.1 no longer supports Mac OS)

2, execute command to turn off Hyper-V service restart:bcdedit/set hypervisorlaunchtype off (otherwise the 64-bit OS cannot be displayed, but also the Windows Phone Simulator and visual Studio Simulator for Android to erase it)

3, install Unlocker2.0.8

4. Create a new MAC OS 10.11 virtual machine (remember network select Bridge mode , otherwise Xamarin studio or Visual Studio for MAC installation fails)

5. Delete the virtual machine hard disk, add the downloaded MacOS 10.12 sierra.rar (googledrive inside) The virtual machine hard disk of the file

6, add smc.version = "0" Inside the virtual machine configuration

7, start the virtual machine installation is ready

Refer to this article: https://techsviewer.com/install-macos-sierra-vmware-windows/

It is recommended to install the virtual machine on SSD SSD, otherwise the Mac OS system itself can not be the superiority of the performance.

Visual Studio for MAC first experience

A little experience with Visual Studio for Mac found that there was not much difference between Xamarin studio and the feeling of adding. NET Core support and MSBuild.

For the prism-based Xamarin development enthusiasts, incredibly add prism template, not easy ah!

Add the prism package manually to see the situation, both XAML preview and XAML smart hints are available, this time the UI design is much easier. The overall layout is the same as Xamarin studio.

In turn look at the situation of Xamarin Stuido, the Prism Template pack can be added normally, excited extremely!

Prism Unity App project template impressively in the eye!

The project is automatically created in one step. XAML smart hints are the same as XAML preview.

Debug Test

Of course, the purpose of setting up a Mac OS virtual machine is not only to develop it, but also to use it as a compiled host for iOS.

iOS Compile host settings:

1. Install Xamarin Studio for Mac and login to Xamarin account

2, start Xcode accept protocol, and then close

3, set Mac system all users can access

4,windwos end of Visual Studio login Xamarin Account

5, add the Mac Agent to enter the IP address, and then enter the user name and password is done

Try starting the emulator. (Remember to install remote Simulator to Windows tools)

Summarize:

As a C # developer, although it is easy to use Visual Studio Tools, the current Visual Studio for Mac or preview is less than the Xamarin team's Xamarin Studio. If you have a Mac, it is recommended to use Xamarin Studio to develop a Xamarin app. I have studied a lot of nights, it is so simple to write, hope to help is or ready to study Xamarin enthusiasts!

Xamarin+prism Development in detail four: simple Mac OS Virtual machine installation method with visual Studio for MAC first experience

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.