Troubleshooting visual Studio for Mac restore failure

Source: Internet
Author: User
Tags dotnet

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

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.