none
Visual Studio for Mac 2017 - Can't add MVC nuget packages

    Question

  • I've created a new project using the ASPNET Core template in Visual Studio for Mac. 

    I can run the default project fine, but when I add reference to "Microsoft.AspNetCore.Mvc" or any of the other MVC related packages, they fail to install under OSX :( I get "failure has occurred while downloading a type" during the HTTP GET for most of the nuget packages when the restore happens (https://api.nuget.org/v3-flatcontainer/microsoft.extensions.caching.memory/1.1.0/microsoft.extensions.caching.memory.1.1.0.nupkg for example).

    Wednesday, November 23, 2016 8:29 PM

All replies

  • Hi Jayme Edwards,

    Welcome to the MSDN forum.

    Refer to your description, I tried to reproduce this issue on my local and I found most of those packages cannot be downloaded and install, only little packages work fine, please have a look at the following:

    I have reported this issue to the VS project Team, please check the following screenshot, then we need to waiting for the feedback from the VS product team engineers, sorry for this inconvenience and thank you for your understanding.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 28, 2016 6:22 AM
    Moderator