Visual Studio for Mac  离线下载安装

2017-08-17  本文已影响0人  木子才

本次安装的Visual Studio for Mac 版本为:7.1 (build 1297)

官方提供的Visual Studio Installer 下载安装工具不晓得怎么安装过程很容易出问题,不知道各位小伙伴们有没有出现过,假死?卡掉?之类问题,简单的说,还是离线下载完,然后一次性安装最好~~~

无意间发现Visual Studio Installer 下载安装工具把安装文件下载到某个路径下:
/Users/muzico/Library/Caches/XamarinInstaller/Universal/downloads

里面有

92132E0B-ED7F-4416-9059-9370CBAD6A83.png

嗯,只有把这些逐个安装就得了~~,如果有些没有下载完毕,可以从InstallationManifest.xml文件里面找到下载的路径~~
PS: xamarin.android-7.4.0-19.pkg 这个文件需要安装完 jdk-8u101-macosx-x64.dmg 才能安装成功~~~

下面列出InstallationManifest.xml 的内容:

<?xml version="1.0" encoding="utf-8"?>
<updates>
  <Global>
    <WelcomeUrl>http://xamarin.com/customer-success</WelcomeUrl>
  </Global>
  <Update Id="964ebddd-1ffe-47e7-8128-5ce17ffffb05">
    <Name>Mono Framework</Name>
    <Version>5.2.0.215</Version>
    <GenericName>MONO</GenericName>
    <Url>https://dl.xamarin.com/MonoFrameworkMDK/Macx86/MonoFramework-MDK-5.2.0.215.macos10.xamarin.universal.pkg</Url>
    <RequiresAdminRights>true</RequiresAdminRights>
    <ManualInstructions>
      <Para>Download the <Link handler="variable" target="Url"><Name /> v<Version /> archive</Link> 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.</Para>
    </ManualInstructions>
  </Update>
  <Update Id="029de55d-1913-4264-a57f-73f432592d92" Selectable="true" SelectedByDefault="false">
    <Name>Java SDK</Name>
    <Version>1.8</Version>
    <GenericName>MacJDK</GenericName>
    <Url>http://this.is.not/used</Url>
    <Url>http://download.xamarin.com/Installer/MonoForAndroid/jdk-8u101-macosx-x64.dmg</Url>
    <IsAppleJava>false</IsAppleJava>
    <RequiresAdminRights>true</RequiresAdminRights>
    <ManualInstructions>
Mac OS X uses its own version of Java and in order to install it you need to <Link handler="exec" target="TerminalApp">start the terminal app</Link> and type the following command:
<Shell>javac -version</Shell>
After typing it you should see a Mac OS X system popup which will guide you to install the Java software.
    </ManualInstructions>
  </Update>
  <Update Id="9abd83cc-d574-4330-9a53-e0d40f9ca37d" Long="true" Selectable="true" SelectedByDefault="false">
    <Name>Android SDK</Name>
    <Version>24.4.1</Version>
    <GenericName>ASDK</GenericName>
    <DependsOn>HAXM</DependsOn>
    <Url>http://dl.google.com/android/android-sdk_r24.4.1-macosx.zip</Url>
    <RepositoryUrl>http://dl.google.com/android/repository/repository-10.xml</RepositoryUrl>
    <RepositoryNS>http://schemas.android.com/sdk/android/repository/10</RepositoryNS>
    <Platforms>23</Platforms>
    <DefaultABI>x86</DefaultABI>
    <SystemImageABIS downloadAll="false">x86,armv7a</SystemImageABIS>
    <SystemImageTags downloadAll="false">default,google_apis,android-wear</SystemImageTags>
    <Samples></Samples>
    <DownloadDocs>false</DownloadDocs>
    <ManualInstructions>
      <Optional if="NeedMainSDK">
        <Para>Download the <Link handler="variable" target="Url"><Name /> for Mac OS X version <Version /></Link>, open the downloaded archive and copy the <Bold>contents</Bold> of the folder found at 
its root directory (most probably named <Monospace>android-sdk-macosx</Monospace>) to the <Monospace><TargetDir /></Monospace> directory.</Para>
      </Optional>
      <Para>
        <Link handler="exec" target="SdkManager">Click here</Link> in order to start the Android SDK Manager application. In the GUI make sure the following components are installed or selected for installation:
<List type="ul"><ListItem>Android SDK Tools</ListItem><ListItem>Android SDK Platform-tools</ListItem><ListItem>Android SDK Build-tools</ListItem><Repeat for="Platforms" format="csl"><ListItem>Android API <RepeatItem /></ListItem></Repeat></List></Para>
      <Para>Once all the required components are selected (you can select others as well, if you wish) start the installation.
<Optional if="TargetDirIsLibrary"><Note>If you cannot see <Monospace><TargetDir /></Monospace> in Finder please <Link handler="file" target="TargetDir" isDir="true">click here</Link>
to reveal the directory in Finder.</Note></Optional></Para>
      <Optional if="NeedNDK">
        <Para>Download the <Link handler="variable" target="NDKUrl">Android NDK for Mac OS X version <NDKVersion /></Link>, open the downloaded archive and copy the <Bold>contents</Bold>
of its root directory (most probably named <Monospace>android-ndk-<NDKVersion /></Monospace>) to the <Monospace><NDKTargetDir /></Monospace> directory.</Para>
      </Optional>
      <Para>When the <Name /> installation is finished you might want to start the <Link handler="exec" target="AvdManager">Android Emulator Manager</Link> 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.</Para>
    </ManualInstructions>
    <NDK>
      <Version>10</Version>
      <VersionTag>e</VersionTag>
      <Url>http://dl.google.com/android/ndk/android-ndk-r10e-darwin-x86_64.bin</Url>
      <TargetDir>|Personal|/Library/Developer/Xamarin/android-ndk</TargetDir>
    </NDK>
    <AVD>
      <Name>Android Accelerated x86</Name>
      <BasePlatform>23</BasePlatform>
      <ABIs>x86</ABIs>
      <SystemImageKinds>google_apis</SystemImageKinds>
      <SdCardSize>512</SdCardSize>
      <SkinName>768x1280</SkinName>
      <LcdDensity>320</LcdDensity>
      <Accelerometer>true</Accelerometer>
      <AudioInput>true|false</AudioInput>
      <Battery>true</Battery>
      <Gps>true</Gps>
      <HeapSize>64</HeapSize>
      <Keyboard>true</Keyboard>
      <GPU>true</GPU>
      <OrientationSensor>true</OrientationSensor>
      <ProximitySensor>true</ProximitySensor>
      <TrackBall>false</TrackBall>
      <DataPartitionSize>200</DataPartitionSize>
    </AVD>
    <AVD>
      <Name>Android ARMv7a</Name>
      <BasePlatform>23</BasePlatform>
      <ABIs>armv7a</ABIs>
      <SystemImageKinds>google_apis</SystemImageKinds>
      <SdCardSize>512</SdCardSize>
      <SkinName>768x1280</SkinName>
      <LcdDensity>320</LcdDensity>
      <Accelerometer>true</Accelerometer>
      <AudioInput>true|false</AudioInput>
      <Battery>true</Battery>
      <Gps>true</Gps>
      <HeapSize>64</HeapSize>
      <Keyboard>true</Keyboard>
      <GPU>true</GPU>
      <OrientationSensor>true</OrientationSensor>
      <ProximitySensor>true</ProximitySensor>
      <TrackBall>false</TrackBall>
      <DataPartitionSize>200</DataPartitionSize>
      <RamSize>1024</RamSize>
    </AVD>
  </Update>
  <Update Id="34937104-97FC-42A0-9159-D951135F72CA">
    <Name>Visual Studio for Mac</Name>
    <Version>7.1.0.1297</Version>
    <ReleaseId></ReleaseId>
    <GenericName>VisualStudioMac</GenericName>
    <Url>https://dl.xamarin.com/VsMac/VisualStudioForMac-7.1.0.1297.dmg</Url>
    <DependsOn>MONO</DependsOn>
    <RequiresAdminRights>false</RequiresAdminRights>
    <ManualInstructions>
      <Para>Download the <Link handler="variable" target="Url"><Name /> v<Version /> archive</Link> to any directory on your disk, double-click it and then drag and drop the <Name /> icon to the
Applications folder.</Para>
    </ManualInstructions>
  </Update>
  <Update Id="d1ec039f-f3db-468b-a508-896d7c382999" Selectable="true" Long="false" IsXamarin="true" UIOrder="1">
    <Name>Xamarin.Android</Name>
    <Version>7.4.0</Version>
    <VersionTag></VersionTag>
    <GenericName>XAndroid</GenericName>
    <DependsOn>MONO,MacJDK,ASDK,MonoDevelop</DependsOn>
    <Url>https://dl.xamarin.com/MonoforAndroid/Mac/xamarin.android-7.4.0-19.pkg</Url>
    <RequiresAdminRights>true</RequiresAdminRights>
    <ManualInstructions>
      <Para>Download the <Link handler="variable" target="Url"><Name /> v<Version /> archive</Link> 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.</Para>
    </ManualInstructions>
  </Update>
  <Update Id="4569c276-1397-4adb-9485-82a7696df22e" Selectable="true" Long="false" IsXamarin="true" UIOrder="2">
    <Name>Xamarin.iOS</Name>
    <Version>10.12.0.18</Version>
    <VersionTag></VersionTag>
    <GenericName>XIOS</GenericName>
    <Url>https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-10.12.0.18.pkg</Url>
    <DependsOn>MONO,MonoDevelop</DependsOn>
    <RequiresAdminRights>true</RequiresAdminRights>
    <RequiresXcode>true</RequiresXcode>
    <ManualInstructions>
      <Para>Download the <Link handler="variable" target="Url"><Name /> v<Version /> archive</Link> 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.</Para>
    </ManualInstructions>
  </Update>
  <Update Id="0ab364ff-c0e9-43a8-8747-3afb02dc7731" Selectable="true" Long="false" IsXamarin="true" UIOrder="3">
    <Name>Xamarin.Mac</Name>
    <Version>3.6.0.17</Version>
    <GenericName>XAMMAC</GenericName>
    <Url>https://dl.xamarin.com/XamarinforMac/Mac/xamarin.mac-3.6.0.17.pkg</Url>
    <DependsOn>MONO,MonoDevelop</DependsOn>
    <RequiresAdminRights>true</RequiresAdminRights>
    <RequiresXcode>true</RequiresXcode>
    <ManualInstructions>
      <Para>Download the <Link handler="variable" target="Url"><Name /> v<Version /> archive</Link> 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.</Para>
    </ManualInstructions>
  </Update>
  <Update Id="a5209a60-88e8-47dd-aa99-38e326a5f046" Selectable="true">
    <Name>Intel® HAXM</Name>
    <Version>6.0.5</Version>
    <VersionTag></VersionTag>
    <GenericName>HAXM</GenericName>
    <RequiresAdminRights>true</RequiresAdminRights>
    <Url>https://dl.xamarin.com/Installer/haxm-macosx_v6_0_5.zip</Url>
  </Update>
  <Update Id="4BBD2407-C3ED-4D32-B8CB-0559C7610697" Selectable="false" IsXamarin="true" UIOrder="4">
    <Name>Xamarin Profiler</Name>
    <Version>1.5.5.10</Version>
    <GenericName>XProfiler</GenericName>
    <Url>https://dl.xamarin.com/profiler/profiler-mac-1.5.5-10.pkg</Url>
    <RequiresAdminRights>true</RequiresAdminRights>
  </Update>
  <Update Id="42baf30f-edc9-4feb-b99d-d6d311271c65" Selectable="true" SelectedByDefault="true" IsXamarin="true" UIOrder="5">
    <Name>Xamarin Workbooks & Inspector</Name>
    <Version>1.2.2</Version>
    <GenericName>XInspector</GenericName>
    <Url>https://dl.xamarin.com/interactive/XamarinInteractive-1.2.2.pkg</Url>
    <RequiresAdminRights>true</RequiresAdminRights>
  </Update>
  <ManualInstructionsIntro>
    <Para>
      <Note>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.</Note>
    </Para>
  </ManualInstructionsIntro>
  <ManualInstructionsStyleSheet><![CDATA[
body {
  font-size: 10pt;
  font-family: sans-serif;
  color: black;
}
.monospace {
  font-family: monospace;
}
.executableName, .fsLocation {
  font-family: monospace;
  font-weight: bold;
}
.shellCode {
  display: block;
  font-family: monospace;
  margin-left: 5em;
  margin-right: 5em;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 0.5em;
  border: darkgray 1px dotted;
}
.note {
  display: block;
  font-size: 11pt;
  background-color: lightgray;
  color: darkred;
  padding: 10px;
  border: gray 1px solid;
  margin-left: 5em;
  margin-right: 5em;
  margin-top: 1em;
  margin-bottom: 1em;
}
.item {
  margin-top: 1em;
  border-top: darkgray 1px solid
}
.itemTitle {
  background-color: #eeeeee;
  font-size: 12pt;
  font-weight: bold;
  margin-bottom: 0.5em;
}
]]></ManualInstructionsStyleSheet>
</updates>
上一篇下一篇

猜你喜欢

热点阅读