Before I learned that Microsoft has a Mac version of VS, not much attention, they are using DotNet Core SDK + VS Code to do some small demo.
The first two days after releasing the Dotnet Core 2.0, Visual Studio for MAC 7.1, the feeling can be used to put the win below the project to the Core. The download installs Dotnet Core 2.0 and Visual Studio for Mac.
DotNet Core 2.0:https://www.microsoft.com/net/core#macos
Visual Studio for mac:https://www.visualstudio.com/zh-hans/thank-you-downloading-visual-studio-mac/?sku= Communitymac&rel=15&dotnetid=1098395593.1466433499&rr=https%3a%2f%2fwww.microsoft.com%2fnet%2fcore
If you have previously installed a version of the dotnet Core SDK, it is recommended that you clear it first to avoid version conflicts. Refer to this man's blog (http://www.jianshu.com/p/b836f04d5817?nomobile=yes) for specific operation
It is perfectly normal to create a project with the command line first, and the restore operation and build operation.
After the installation is complete, I use vs to open the project, VS will automatically restore the project, and then it's stuck.
Based on previous vs2015 experience, the problem with the NuGet data source is that it switches the data source to the Cnblog mirror, restore again, and execute successfully!
Then click Run, execute successfully!
Here's a question: Why do the restore operation in Terminal not download those packages and download them in VS? Solution.
Troubleshooting visual Studio for Mac restore failure