Visual Studio for Mac from getting started to discarding 1

Source: Internet
Author: User
Tags android sdk manager

Mac

First step: Download from Microsoft Official website: https://www.visualstudio.com/vs/visual-studio-mac/

Step Two: Install the software process appears

It was a automatic installation possible to complete an. This might is due to a problem with the your network, proxy servers or an unsolvable installation conflict. At here, you can continue the installation by manually downloading and installing the independent pieces. The list below shows each component this need to install. Mono Framework

Download the Mono Framework v4.8.0 archive to any directory on your disk, double-click it and follow the instructions on s Creen. Please accept all the defaults during the installation and including the target drive.

Java Sdkmac OS X uses its own version of Java and in order to install it need to start the Terminal app and type the F ollowing command:Javac-versionafter Typing it should see a Mac OS X system popup which would guide you to install the Java software .Android SDK

Download the Android SDK for Mac OS X version 24.4.1, open the downloaded archive and copy the contents of the FO Lder found at it root directory (most probably named Android-sdk-macosx) to the /users/cong/library/developer/xam Arin/android-sdk-macosx directory.

Click here on order to start the Android SDK Manager application. In the GUI make sure the following is installed or selected for installation:

    • Android SDK Tools
    • Android SDK Platform-tools
    • Android SDK Build-tools
    • Android API 15
    • Android API 19
    • Android API 21

Once all the required is selected (you can select others as well, if you wish) start the installation. If You cannot see /users/cong/library/developer/xamarin/android-sdk-macosx in Finder, click here to reveal T He directory in Finder.

Download the Android NDK for Mac OS X version r10e, open the downloaded archive and copy the contents of its root Directory (most probably named android-ndk-r10e) to the /USERS/CONG/LIBRARY/DEVELOPER/XAMARIN/ANDROID-NDK Directory.

When the Android SDK installation are finished you might want to start the Android Emulator Manager and create as many Emul Ator images as you might need for your development. This step can is performed at a as-needed basis.

Visual Studio for Mac Preview

Download the Visual Studio for Mac Preview v7.0.0 archive to any directory on your disk, double-click it and then drag and Drop the Visual Studio for Mac Preview icon to the Applications folder.

Xamarin.android

Download the Xamarin.android v7.1.0 archive to any directory on your disk, double-click it and follow the instructions on Screen. Please accept all the defaults during the installation and including the target drive.

Xamarin.ios

Download the Xamarin.ios v10.4.0 archive to any directory on your disk, double-click it and follow the instructions on SCR Een. Please accept all the defaults during the installation and including the target drive.

Xamarin.mac

Download the Xamarin.mac v3.0.0 archive to any directory on your disk, double-click it and follow the instructions on Scre En. Please accept all the defaults during the installation and including the target drive.

(There is no need for mobile to download: Mono Framework v4.8.0 archive Visual Studio for Mac Preview v7.0.0 archive These 2 packages are available, others are developing cross-platform packages)

Third, the excitement of human time to come, open vs, the interface is very concise, remove vs many redundant features, feel a lot more comfortable ....

Iv. Create a new MVC project that will prompt you to install the Support MVC Class library online and download the DLL from NuGet??

Five running Microsoft 66666

Windows

What happens if you put the above code on the Windows system?

Environment: win10+vs2015 compile normal, operation is normal

Above those are just small test sledgehammer, the following is the miracle of witnessing, directly to the previous project "No Connection database" dropped to Mac vs run

Unexpectedly error, completely shocked me operation is not supported on this platform. This operation does not support this platform ... Is this a bug on the preview page?

For problems, there are several scenarios

1: Restart VS, restart the computer, unload the project reload

2:so above someone said is the debug mode problem, I switch compile or error.

3:google a bit more PDB files, I clean up the entire solution, all bin directories to delete, compile or error ...

4: Toggle Target Frame

Could it be that Mono4.5 not all migrated to the class library? So this set 4.5.1 4.5.2, I am in Windows is net4.5, compile, still error. I switched 4.6.11 under compilation succeeded ....

(However, I am happy too early, ready to reproduce the problem operation, back up the csproj file, restore the previous version of the csproj, and then all the way to resolve the error, the correct csproj replacement is not possible)

Create a new MVC project on 5:mac, copy the code past (if all the methods are not possible, this scheme is hundred test Lark, highly recommended)

6: My old project compared to 5 new project csproj, changed a touch same also not, FK

Finally want to say: vs in Mac Operation added "not included project file" very painful.

Test Demo:http://files.cnblogs.com/files/walleyekneel/vsformactest.zip

2 vs mac-tool experience spit Groove

3 vs mac-Join Database Access project

4 vs Mac-ios Development

5 vs mac-Android Development

Visual Studio for Mac from getting started to discarding 1

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.