V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hueo
V2EX  ›  分享发现

Visual Studio for Mac 手动/离线安装

  •  
  •   hueo · 2016-11-17 11:11:45 +08:00 · 6614 次点击
    这是一个创建于 2953 天前的主题,其中的信息可能已经有所发展或是发生改变。

    安装的时候断了一下网,然后它告诉我可以这样手动安装(由于下文在 web 上找不到,所以全文转载了):

    适用于 2016-11-17 CST 发布的版本


    It was not possible to complete an automatic installation. This might be due to a problem with your network, proxy servers or an unsolvable installation conflict. At this point, you can continue the installation by manually downloading and installing the independent pieces. The list below shows each component that you 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 screen. Please accept all the defaults during the installation, including the target drive.

    Android SDK

    Download the Android SDK for Mac OS X version 24.4.1, open the downloaded archive and copy the contents of the folder found at its root directory (most probably named android-sdk-macosx) to the ~/Library/Developer/Xamarin/android-sdk-macosx directory.

    Run ~/Library/Developer/Xamarin/android-sdk-macosx/tools/android in order to start the Android SDK Manager application. In the GUI make sure the following components are installed or selected for installation:

    • Android SDK Tools
    • Android SDK Platform-tools
    • Android SDK Build-tools
    • Android API 23

    Once all the required components are selected (you can select others as well, if you wish) start the installation.

    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 ~/Library/Developer/Xamarin/android-ndk directory.

    When the Android SDK installation is finished you might want to start the "Android Emulator Manager"(~/Library/Developer/Xamarin/android-sdk-macosx/tools/android) and create as many emulator images as you might need for your development. This step can be performed at any time, on an 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, 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 screen. Please accept all the defaults during the installation, 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 screen. Please accept all the defaults during the installation, including the target drive.

    3 条回复    2016-11-18 14:54:15 +08:00
    Lattez
        1
    Lattez  
       2016-11-17 14:31:38 +08:00 via Android
    赞一个
    zhangyi2099
        2
    zhangyi2099  
       2016-11-17 16:50:00 +08:00
    是不是可以选装,比如不要 android
    fei051466
        3
    fei051466  
       2016-11-18 14:54:15 +08:00
    我试了几次就没一次是不说断网的。回头再折腾一下。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1702 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:37 · PVG 00:37 · LAX 08:37 · JFK 11:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.