Unable to Install Any Package in Visual Studio 2015

后端 未结 19 2364
太阳男子
太阳男子 2020-12-07 13:32

I\'ve tried every package I could possibly find and none of them will install in my project. I\'ve installed every update listed in the Extensions and Updates list that wer

19条回答
  •  心在旅途
    2020-12-07 14:16

    I had this problem with Visual Studio 2017: It turns out that there are two class library projects - one for .Net and the other for C#. I created the one for .Net and when I tried to install a specific package (Nunit in my case) I got the error message.

    Recreating the project as C# class library fixed the problem

提交回复
热议问题