当前位置:网站首页>Visual Studio (MAC) installation process notes

Visual Studio (MAC) installation process notes

2020-11-09 11:11:00 itzhangbao

Installation time of this process 2017 year 3 month 22 Japan .( Partial content reference This article )

logo

preparation

1. First go to the official website to download Visaul Studio Installation package

Visual Studio Official website download address

2. Click to download Visual Studio For Mac preview

img

3. double-click Visual Studio For Mac Preview Installer

img

4. Click step by step Accept

img

5. Come here and wait

img

No matter whether you climb over the wall or not, the installation failure window will pop up ( If other windows are not installed successfully, please close and double-click the installation program again ), Let's manually install the following packages one by one

img

Manual installation

1. install Mono Framework

  • Download and click on the prompt Next That's it .
  • The installation path :/Library/Frameworks/Mono.framework/

img

2. install JDK,Mac It's not official , Install the latest version JDK Good

  • At the command line javac -version Pop up dialog box, click past to download the latest version JDK MacOS edition , a meal Next That's it
  • After installation , Run again javac -version, Correct display JDK Version number
  • function /usr/libexec/java_home obtain JDK Installation path for
  • The installation path :/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home

img

img

3. To configure Android Environmental Science , Download separately Android SDK and Android NDK

  • SDK - Will download okay android-sdk-macosx Manually copy to VS Required directory ( See the picture below ) - The installation path :/Users/xxx/Library/Developer/Xamarin/android-sdk-macosx/
  • NDK - Download the NDK The file named android-ndk-r10e-darwin-x86_64.bin Need terminal decompression - cd To .bin Under the directory - Under orders chmod +x ./android-ndk-r10e-darwin-x86_64.bin - Under orders ./android-ndk-r10e-darwin-x86_64.bin decompression , Manually copy to Android SDK At the same directory - The installation path :/Users/xxx/Library/Developer/Xamarin/android-ndk-r10e/

img

img

4. install Xamarin Development framework of

  • Download them separately and install them step by step , a meal Next That's it
  • xamarin.android - The installation path :/Library/Frameworks/Xamarin.Android.framework/
  • xamarin.ios - The installation path :/Library/Frameworks/Xamarin.iOS.framework/
  • xamarin.mac - The installation path :/Library/Frameworks/Xamarin.Mac.framework/

img

5. Finally download Visual Studio For Mac Preview The offline package of

Double click installation , Drag it directly to the application directory

img

6. If you need to develop .NET Core You have to install it yourself

.NET Core for Mac

Hello World

newly build iOS Program

01. Click on new project

img

02. Select project template

img

03. Basic information of configuration item

img

04. Select the project storage path and create

img

05. Double click to select Main.storyboard

img

06. Familiar Jiugongge

img

07. Pull one UILabel

img

08. Set up label attribute

img

09. Adding constraints

img

10. Choose the device Run

img

11. Effect picture of simulator

img

12. Double click to select ViewController.cs file , Code addition UIAlertView

img

13. Effect picture of simulator

img

newly build Android Program

You can set the language and theme

img

Be careful ! There are pits here.

  • If it cannot be found, it needs to be specified manually SDK JDK NDK route ,JDK and NDK Can find ,

    however only SDK , On my computer, that's right , I just can't find it , Then I myself
    Yes, it is Android Studio Download the SDK Just cover this and you'll find it .
    If you don't want to install Android Studio You can download one on the official website SDK And put this
    Covering the OK 了 .

img

01.new project

img

02. Select project template

img

03. Basic information of configuration item

img

04. Select the project storage path and create

img

05. Run program to mobile phone

img

06. Effect picture of real machine

img

summary

This document records the installation Visual Studio Detailed process .


Once there was a sincere love in front of me , I didn't cherish , Only when I lost did I regret , This is the most painful thing in the world .

If God can give me another chance , I'll say three words to that girl : I love you! .

If you have to add a deadline to this love , I hope so. ……

Ten thousand years

— — Stephen Chow 《 A Chinese Odyssey 》

版权声明
本文为[itzhangbao]所创,转载请带上原文链接,感谢